Configure Sendgrid Email Delivery with WordPress

Sendgrid is a widely used email service that ensures email that is sent from your site will be delivered. In this guide, we’ll show you how to set up Sendgrid along with its WordPress plugin counterpart.

Sign Up for a SendGrid Account

You will first want to create a Sendgrid account, and you can view their plans on their pricing page. For now, we’ll showcase this with the free account that they offer:

sendgrid_plans

Once you update that with your information, you will want to verify your account through the email Sendgrid sends you by clicking the Confirm Email Address button before moving forward.

confirm_email_sendgrid

SendGrid Domain Validation

Now, you will need to update your DNS records to make sure Sendgrid is being validated. In order to do this, you will login to Sendgrid and select Settings > Sender Authentication from the navigation menu on the left.

sender_authentication_sendgrid-1024x927

On the Sender Authentication page, look to the Domain Authentication settings. Click Get Started in the “Authenticate Your Domain” box.

authenticate_domain

Select Other in DNS host from the dropdown menu on the next page and name Reclaim Hosting as your DNS Host. Then select whether or not you would like to “whitelabel” emails being sent through Sendgrid to show your own domain. For this guide we selected no.

sendgrid-1

Now type the domain that you would like to be sending emails from, then click Next.

sendgrid-2

Sendgrid will now display a list of CNAME records to add to your DNS host:

sendgrid-3

Use the Copy buttons to copy the Host and Value entries over to your cPanel Domains Zone Editor dashboard on the Reclaim Hosting side:

Zone_Editor.png

After you have added the records, click the Verify button in the Sendgrid dashboard to ensure your records were set correctly. Sendgrid will then check the DNS records and display a green checkmark if the settings are correct.

it_worked_dns_sendgrid

Install & Activate WordPress Plugin

With your domain being verified by Sendgrid, now you will want to go to your WordPress Dashboard to install and configure your email settings. Log into your WordPress site, and click Plugins on the left navigation bar. Then click the Add New button at the top of the page and search for the “Sendgrid” plugin.

add_sendgrid_plugin

Select to install the Sendgrid plugin by Sendgrid, then “Activate” immediately after. Please note: If you wish to send email via SMTP instead of Sendgrid’s API (recommended), you will also need to install the Swift Mailer plugin.

Enter API Credentials

Now that Sendgrid is installed and active on your WordPress website, go back to the Sendgrid dashboard (https://app.sendgrid.com/). Select Settings > API Keys from the left-hand navigation, and select to create an API key with Full Access permissions.

create_api_key_sendgrid-1024x698

Next, Sendgrid will show our API key. Be sure to save your API key in a safe place, as they cannot show it again for security purposes.

Click to copy your API key once you’ve saved it elsewhere, and then go back to your WordPress Dashboard. Under Settings > Sendgrid, enter your API key in the first box, In the second box, make sure to select “API” (if you choose SMTP, you will need the Swift Mailer plugin as well).

sendgrid_api_settings-1024x917

Click Update Settings once you have updated your information.

Send a Test Email

To ensure that you’ve configured Sendgrid correctly, you will want to submit a test email. On the Settings > Sendgrid page, scroll to the bottom and fill in the fields to send a test email.

test_email_sendgrid

Sendgrid will confirm the email was sent at the top of the page. Check your inbox to ensure you got the message! (You may want to check your spam folder if you haven’t received the message after a few minutes).

test_email_received_sendgrid

Sendgrid has now been successfully configured! Going forward, you can use the Sendgrid Dashboard to track email delivery, errors, spam reports, and bounced emails.

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Reclaim Hosting Support Hours
8:00 am - 5:00 pm ET, Monday through Friday
Submit a Ticket
Get a quick and helpful response from the pros.
Need Extra Support?
No problem, we're here to help! Talk to us about Professional Services or custom Service Level Agreements.