How to setup SendGrid on your website

This article refers to MailPoet 2

If you're looking for MailPoet 3 articles, please go to MailPoet 3 Knowledge Base

MailPoet provides built-in support for the SendGrid API.

This means that you can send your MailPoet newsletters via SendGrid over an HTTP connection. This different connection method is preferred when you can't send newsletters with your own website (PHP Mail or Sendmail) or your host has blocked your server ports, thus preventing your website for making an SMTP connection to the Third Party sender.

1. Go to to create a free SendGrid account.

2. Then choose an Username and Password for your account (these will be the same you will use inside your MailPoet).

3. After you've clicked the Create Account Now button, you'll see this screen:

...and SendGrid will send you this email:

4. You need to click on the green button to Confirm Your Email Address with them. After clicking on that button, you'll be redirected to the SendGrid website, where you'll see this message:

5. Fill in the additional details they ask you and hit the Save button. After that, you'll be redirected to your SendGrid Dashboard:

Notice the yellow bar on top saying that your account is being provisioned. Click here to understand what this means.

After your account has been provisioned successfully, you won't see that yellow bar anymore:

And you'll receive this email:

6. Now log into your WordPress Dashboard and head over to MailPoet's Settings page, Send With tab. Select the option Third Party to setup SendGrid.

Type: as your SMTP Hostname, on the Login field use the same you've used to create your SendGrid account, and the same thing for your password.

Make sure to check the option " web API" as soon as you type "" on the host field on the "Send with..." tab, to enable the API support and send your newsletters over HTTP instead of an SMTP connection.

That's it! MailPoet is now ready to send your newsletters with SendGrid.

We strongly suggest a sending frequency of 100 emails each 5 minutes. Why this frequency? Read more about it here.

7. Setup your Bounce Management ( Only for Premium users).

SendGrid won't respect your MailPoet Bounce Email Address. It will use its own methods for handling bounced messages.

However, you can still use MailPoet to manage them and keep your lists clean. Just log into your SendGrid Dashboard and follow these steps:

SendGrid will now forward the bounced messages to the email address you have specified in it.

Now you can proceed by specifying the POP/IMAP connection in MailPoet' Settings page, to check your bounced messages. Check here our guide:  Automated Bounce Handling Install Guide