Setting Up WordPress Email Sending (SMTP)
By default, WordPress sends email using PHP's mail() function, which is often blocked or flagged as spam. Using SMTP is far more reliable.
Recommended Plugin: WP Mail SMTP
- Install WP Mail SMTP from the WordPress plugin directory.
- Go to WP Mail SMTP → Settings.
- Set:
- From Email — your email address (e.g. no-reply@yourdomain.com)
- From Name — your business name
- Mailer — choose SMTP
- SMTP settings:
Field Value SMTP Host mail.yourdomain.com SMTP Port 465 (SSL) or 587 (TLS) Encryption SSL or TLS Auth On Username your@yourdomain.com Password your email password - Save and use Email Test to send a test message.
Alternative: Use a Transactional Email Service
For high-volume or mission-critical emails (e.g. WooCommerce orders), use a transactional email service:
| Service | Free Tier |
|---|---|
| Brevo | 300 emails/day |
| Mailgun | 1,000 emails/mo |
| SendGrid | 100 emails/day |
| Postmark | 100 emails/mo |
WP Mail SMTP supports all of these with built-in integrations.