If your WordPress site is not sending emails, you might miss contact form messages, order confirmations, or password reset emails. This happens because WordPress uses the PHP mail function, which is often blocked by hosting providers.
Follow this guide to fix the issue and make sure your emails are delivered properly.
Why is WordPress Not Sending Emails?
-
Your hosting provider blocks PHP mail() function.
-
Your emails go to spam due to improper settings.
-
No SMTP authentication is used.
-
Misconfigured email settings in WordPress or plugins.
How to Fix WordPress Email Issues
1. Install an SMTP Plugin (Best Solution)
SMTP (Simple Mail Transfer Protocol) is the best way to send emails from WordPress.
-
Install the WP Mail SMTP plugin:
-
Go to WordPress Dashboard → Plugins → Add New.
-
Search for WP Mail SMTP and install it.
-
Activate the plugin.
-
-
Configure WP Mail SMTP:
-
Go to WP Mail SMTP → Settings.
-
Enter your From Email (use a professional email like
yourname@yourdomain.com
). -
Choose an SMTP mailer (Gmail, SendGrid, Mailgun, or SMTP from your hosting).
-
Enter the SMTP server details (you can get this from your email provider or hosting).
-
Save settings and test the email.
-
2. Use Your Hosting Provider’s SMTP
If your hosting provider offers SMTP, use their settings.
-
Get SMTP details from your hosting’s support.
-
Enter them in WP Mail SMTP under the Other SMTP option.
-
Save and test email delivery.
3. Check Email Logs and Spam Folder
-
Use an email log plugin like WP Mail Logging to track sent emails.
-
Check the Spam folder in your email account.
-
If emails go to spam, set up SPF, DKIM, and DMARC records in your domain settings.
Conclusion
Fixing WordPress email issues is easy with WP Mail SMTP. Set up SMTP, check your email logs, and make sure your emails don’t go to spam. If you need help, ask on Tech Fix Forum! 😊