WordPress GuideDevelopment → Set Up SMTP

How to set up SMTP for SendGrid in WordPress

Quick setup doesn’t always equal reliable email delivery. If your WordPress site sends order confirmations, form alerts, or password resets, you need those messages to land in inboxes—not spam folders. 

Setting up SendGrid SMTP is one of the best ways to make that happen.

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

1. Install an SMTP plugin in WordPress

WordPress doesn’t use SMTP by default. Instead, it sends emails through the PHP mail() function—which is often blocked or flagged as spam. 

An SMTP plugin replaces that with authenticated, reliable delivery.

Popular options include:

To install any of these plugins:

2. Create a SendGrid account and generate an API key

You’ll need an API key to connect your site to SendGrid’s mail servers. (An API key is a unique code that authenticates your website or app when connecting to a third-party service like SendGrid.)

3. Configure your SMTP plugin with SendGrid

Next, you need to configure your SMTP plugin with SendGrid so WordPress can securely send emails through SendGrid’s email delivery servers, instead of using PHP mail. The setup process varies slightly depending on which plugin you use.

With WP Mail SMTP:

With Post SMTP:

4. (Optional) Set manual SMTP settings for SendGrid

If you prefer not to use an API, or if your plugin doesn’t support SendGrid directly, you can configure it manually using SMTP credentials.

Manual SMTP settings:

This method works well with plugins like Easy WP SMTP or in custom environments.

5. Send a test email

Now verify that everything works. Sending a test email confirms that your SMTP settings are working correctly and that emails can be delivered successfully from your WordPress site.

In WP Mail SMTP:

In Post SMTP:

If you don’t receive the email:

7. Monitor email delivery with logs or analytics

Monitoring ensures your messages keep flowing reliably.

When monitoring email delivery with logs or analytics, look for key metrics like delivery success rate, bounce rate, open rate, click rate, and spam complaints—along with issues like authentication failures, DNS misconfigurations, or messages stuck in the queue.

Pro tip: Improve email reputation with a dedicated IP (advanced)

If you send large volumes of email—especially for ecommerce or memberships—a dedicated IP can help maintain your sender reputation.

Benefits:

In SendGrid:

SendGrid SMTP FAQ

What is SendGrid?

SendGrid is a cloud-based email delivery platform used for sending transactional emails, marketing campaigns, and notifications. It provides tools for SMTP relay, APIs, analytics, and domain reputation management.

Is SendGrid like Mailchimp?

Not exactly. Mailchimp is primarily a marketing automation platform with email templates and campaign builders. SendGrid focuses more on transactional email delivery and infrastructure. Both send emails—but their use cases are different.

Is SendGrid free?

Yes, SendGrid has a free tier. As of 2025, it allows up to 100 emails per day. You can upgrade to a paid plan if you need more volume, dedicated IPs, or advanced analytics.

Ready to get started?

Get the fastest, most secure WordPress.org hosting on the market.

Additional resources

What is managed WordPress hosting? →

Get details and decide if managed WordPress hosting is right for you.

How to push a (WordPress) staging site without overwriting the database →

Learn how to push a WordPress staging site to live without overwriting the existing database.










A complete guide to WordPress shortcodes →

Shortcodes make life easier. Learn how to get started!

Trust us to help you choose the ideal hosting solution

Loading form…