How to Use SendGrid in WordPress to Improve the Email Deliverability

How to Use SendGrid in WordPress to Improve the Email Deliverability

For any WordPress user, the email sending and receiving are really important. After all, the WordPress emails play the vital role for password reset, user communication, newsletter promotion, notification announcement, feedback collection and many more. In this case, if there is anything wrong with the email delivery, you can be in trouble. To avoid this situation, we highly recommend you to use SendGrid in WordPress to replace the default WordPress email function. Check the following content to learn why and how to do this.

How Can SendGrid Improve the Deliverability for WordPress Emails

In fact, WordPress itself makes use of the PHP mail function for email delivery. However, as researched, we have found that many WordPress hosting providers fail to configure this function properly. Even, some of these web hosts block it so as to avoid the spam sending from their web servers. This can cause the huge problem, for you cannot send out your email messages. Also, you need to face the possibility of losing your users by missing out the important information.

Due to this circumstance, we highly recommend you to consider the use of SendGrid – the great email service provider.

SendGrid

Brief Introduction to SendGrid

To put it simply, the SendGrid is a powerful and user-friendly service provider that allows you to deliver emails through the reliable platform. At present, there are more than 120,000 users delivering around 30 billion emails per day via SendGrid. Some of these users are even famous, such as Yelp, Spotify and Uber.

This service provider is cloud-based and makes use of the highly optimized and properly adjusted email servers. In this case, all the WordPress emails can reach and land in the inbox of your targets, instead of being regarded as the spam.

How to Use SendGrid in WordPress

The utilization of SendGrid in WordPress is pretty simple. This service provider already has partnered with WordPress to develop the exclusive SendGrid plugin. This plugin works out based on the SMTP or the API integration to replace the default wp_mail() function of WordPress. Also, it can store your contacts to your account of SendGrid Marketing Campaign.

Set Up the SendGrid Credentials

After the plugin installation of SendGrid, you should click the Settings > SendGrid button to fill out all the needed information. Here, you firstly should focus your mind on the SendGrid Credentials part. This can connect your SendGrid account with your WordPress site properly.

SendGrid Credentials

This plugin allows two methods to achieve the connection. One is the use of the API key and the other is to use the SendGrid user information.

To provide the authentication, you firstly should sign up for a SendGrid account. Note that you can choose either the paid or the free package based on your needs. If your website is a small blog or a medium sized personal website, the free plan is enough. With it, you can send out up to 12,000 emails for each month.

After the successful signup, you can enter the exact username and password of your SendGrid account. However, if you choose the API key as the authentication method, you need to visit the dashboard of your SendGrid account. After clicking the Settings > API Keys, you can create the API key by hitting the Generate API Key option.

Generate API Key

While entering the SendGrid credentials, you also should choose the method for sending the emails. By default, you can send using the SendGrid API. However, you can enable the Swift Mailer support by installing the Swift Mailer plugin. Note that if you opt to the SMTP option, you have the freedom to select the proper port as well.

Finish the Mail Settings

Next, you should focus on the Mail settings. There are 6 main aspects you need to finish.

  • Name – This is what will appear as the sender name.
  • Sending Address – This is your email address from which the messages are sent.
  • Reply Address – This is where people can reply to you. You can leave it blank to use the sending address.
  • Categories – You can categorize all your emails into different groups, such as for the categories of promotion, daily newsletter and recent announcements.
  • Template – You can enter the template ID that is used to send your emails.
  • Content Type – There are two content types, including “text/plain” and “text/html”. You can choose one as you prefer.

Mail Settings

Test the Email Deliverability

Now, you can test the email deliverability easily after saving the settings. There will be a SendGrid Test form appears that allows you to do so.

SendGrid Test

Check the Statistics for Email Delivery

If the testing result is proper, it means this plugin already replaces the default mail function with the SendGrid API. In this case, you can make use of this platform to improve the email deliverability till now.

Here, you can click the Dashboard > SendGrid Statistics button from your WordPress admin. And then, you can check the statistics of your email sending easily.

SendGrid Statistics

Allow Email Subscription

This plugin also enables a subscription widget. With it, people can subscribe to your emails easily. For this, you should go back to the plugin settings page and click the Subscription Widget button. Here, you only need to enter your API key, choose the subscription options and customize the subscription form. After that, the widget will appear automatically in the sidebar.

Email Subscription Form Customization