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 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
- Go to Plugins > Add New in WordPress admin
- Search “WP Mail SMTP”
- Install and activate WP Mail SMTP by WPForms
Step 2: Get Brevo API Key
- Create a free Brevo account (300 emails/day)
- Go to Brevo > Settings > SMTP & API > API Keys
- Copy your API key
Step 3: Configure the Plugin
- Go to WP Mail SMTP > Settings
- From Email: Use your domain email ([email protected])
- From Name: Your website name
- Mailer: Select “Brevo (Sendinblue)”
- API Key: Paste your Brevo API key
- Click Save Settings
Step 4: Send Test Email
- Go to WP Mail SMTP > Email Test
- Enter your email address
- Click Send Email
- 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
- Verify API key is correct
- Check From Email uses your verified domain
- Ensure no other email plugin is active
- Try a different mailer to isolate the issue
Emails Still Going to Spam
- Set up SPF, DKIM, DMARC
- Check domain on blacklists
- Use From Email matching your domain
- Run an email spam test
WooCommerce Emails Not Working
- Verify WooCommerce email settings are enabled
- Ensure WP Mail SMTP is the only email plugin
- Check WooCommerce > Settings > Emails for each type
- Test with a test order
WP Mail SMTP Free vs Pro
| Feature | Free | Pro |
|---|---|---|
| All mailers (Brevo, Gmail, etc.) | Yes | Yes |
| Email test tool | Yes | Yes |
| Basic email log | Yes | Yes |
| Detailed logs with content | No | Yes |
| Failure alerts | No | Yes |
| Backup connection | No | Yes |
| Weekly email summary | No | Yes |
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:
- Newsletter plugin: Use Brevo’s WordPress plugin for signup forms and campaigns
- Automation: Build welcome series and drip campaigns
- Email list building: Add signup forms to your WordPress site
- Analytics: Track campaign performance in Brevo dashboard
For complete WordPress email setup, see our WordPress SMTP guide and SMTP complete guide.