WP Mail SMTP: Complete Setup Guide for WordPress Email (2026)

Set up WP Mail SMTP to fix WordPress email delivery. Step-by-step configuration with Brevo, Gmail, SendGrid, and other SMTP providers for reliable sending.

WP Mail SMTP
WP Mail SMTP?

WP Mail SMTP is the definitive solution for WordPress email delivery problems. With over 3 million active installations, it is the most trusted plugin for ensuring your WordPress emails actually reach recipients.

This guide covers complete setup with popular SMTP providers, troubleshooting common issues, and optimizing for reliable delivery.

Why You Need WP Mail SMTP

WordPress uses PHP’s mail() function by default. This method:

  • Lacks authentication (no SPF/DKIM)
  • Uses shared hosting IPs (often blacklisted)
  • Fails silently (no error messages)
  • Gets caught by spam filters

WP Mail SMTP replaces mail() with authenticated SMTP delivery through trusted providers.

Setup Guide: WP Mail SMTP + Brevo

Step 1: Install the Plugin

  1. Go to Plugins > Add New in WordPress admin
  2. Search “WP Mail SMTP”
  3. Install and activate WP Mail SMTP by WPForms

Step 2: Get Brevo API Key

  1. Create a free Brevo account (300 emails/day)
  2. Go to Brevo > Settings > SMTP & API > API Keys
  3. Copy your API key

Step 3: Configure the Plugin

  1. Go to WP Mail SMTP > Settings
  2. From Email: Use your domain email ([email protected])
  3. From Name: Your website name
  4. Mailer: Select “Brevo (Sendinblue)”
  5. API Key: Paste your Brevo API key
  6. Click Save Settings

Step 4: Send Test Email

  1. Go to WP Mail SMTP > Email Test
  2. Enter your email address
  3. Click Send Email
  4. Check your inbox (and spam folder)

Step 5: Set Up DNS Authentication

Add SPF and DKIM records to your domain DNS. Brevo provides the exact records in Settings > Senders & IPs > Domains. See our SPF DKIM DMARC guide for details.

Setup with Other Providers

Gmail / Google Workspace

  • Mailer: “Google / Gmail”
  • Requires OAuth setup (Client ID + Secret)
  • 500 emails/day (personal) or 2,000/day (Workspace)
  • Best for: Personal sites with low volume

SendGrid

  • Mailer: “SendGrid”
  • Enter API Key from SendGrid dashboard
  • 100 emails/day free
  • Best for: Developer-focused sites

Amazon SES

  • Mailer: “Amazon SES”
  • Requires AWS Access Key + Secret
  • 62,000/month free (from EC2)
  • Best for: AWS-hosted, high-volume sites

Troubleshooting

Test Email Fails

  1. Verify API key is correct
  2. Check From Email uses your verified domain
  3. Ensure no other email plugin is active
  4. Try a different mailer to isolate the issue

Emails Still Going to Spam

  1. Set up SPF, DKIM, DMARC
  2. Check domain on blacklists
  3. Use From Email matching your domain
  4. Run an email spam test

WooCommerce Emails Not Working

  1. Verify WooCommerce email settings are enabled
  2. Ensure WP Mail SMTP is the only email plugin
  3. Check WooCommerce > Settings > Emails for each type
  4. Test with a test order

WP Mail SMTP Free vs Pro

FeatureFreePro
All mailers (Brevo, Gmail, etc.)YesYes
Email test toolYesYes
Basic email logYesYes
Detailed logs with contentNoYes
Failure alertsNoYes
Backup connectionNoYes
Weekly email summaryNoYes

The free version is sufficient for most sites. Pro is worth it if you need failure monitoring or detailed email logs.

Beyond SMTP: WordPress Email Marketing

Once SMTP delivery is fixed, consider adding email marketing:

For complete WordPress email setup, see our WordPress SMTP guide and SMTP complete guide.

Frequently Asked Questions

What is WP Mail SMTP?
WP Mail SMTP is the most popular WordPress plugin (3M+ installs) for fixing email delivery. It routes WordPress emails through a proper SMTP service instead of unreliable PHP mail(), ensuring emails reach the inbox.
Is WP Mail SMTP free?
Yes. The free version supports all major SMTP services (Brevo, Gmail, SendGrid, etc.), includes basic email logging, and a test email feature. The Pro version adds detailed logs, alerts, and backup connections.
Which SMTP provider should I use with WP Mail SMTP?
Brevo is the best free option with 300 emails/day. Gmail works for personal sites (500/day). SendGrid and Amazon SES suit high-volume sites. Choose based on your sending volume and budget.
Start gratis met Brevo