A customer fills out your contact form, sees a "Thanks, we'll be in touch" message, and waits. You never get the email. Neither of you knows anything went wrong. It is one of the most common WordPress problems, and also one of the most costly, because missed form submissions are missed business.
This guide explains why WordPress fails to send email, how to fix it with SMTP, and how to test that your messages actually land.
Why WordPress emails go missing
By default, WordPress sends mail with a function called wp_mail(), which hands the message to PHP's built-in mail system on your web server. That works, technically. The problem is what happens next.
The message looks suspicious
Email providers like Gmail, Outlook and Yahoo check whether a message is really allowed to come from the domain in the "From" address. Mail sent straight from a web server often fails those checks, because it is not authenticated the way mail from a real mailbox is. The result is that messages get sent to spam or silently rejected.
The From address does not match the domain
Many contact forms put the visitor's email address in the From field. If someone with a Gmail address fills in your form, your server ends up sending a message that claims to be from Gmail. Gmail's own policies tell receiving servers to distrust that, so it is often blocked.
The server's mail function is restricted
Some hosts limit or disable PHP mail to prevent abuse, and some servers have outgoing mail limits.
The fix: send WordPress email through SMTP
SMTP (Simple Mail Transfer Protocol) is the standard way email programs send mail. When you configure WordPress to send through SMTP, it logs in to a real mailbox or email service with a username and password, just like your email app does. That mail is authenticated and much more likely to be delivered.
You have three common options:
- Your domain's own mailbox on your hosting account, such as
website@yourdomain.com. - Your business email provider, such as Google Workspace or Microsoft 365.
- A transactional email service built for sending automated mail, useful for stores and busy sites.
For most small business sites, option 1 or 2 is enough.
Step 1: Create a sending mailbox
Create a dedicated address like noreply@yourdomain.com or website@yourdomain.com in your hosting control panel's email section. Give it a strong, unique password. Using a dedicated mailbox keeps website mail separate from your personal inbox and makes troubleshooting easier.
Step 2: Check SPF, DKIM and DMARC
These DNS records tell receiving servers which servers may send mail for your domain:
- SPF lists approved sending servers
- DKIM adds a cryptographic signature to each message
- DMARC tells receivers what to do when a message fails the checks
If you send through your host's mail server, make sure your domain's SPF record includes it and DKIM is enabled in your control panel. If you send through Google Workspace or another provider, follow their DNS setup instructions. Our guide to SPF, DKIM and DMARC covers this in detail.
Step 3: Install an SMTP plugin
Popular free options include WP Mail SMTP, FluentSMTP and Post SMTP. They all do the same core job: route wp_mail() through an SMTP server.
After installing, you will enter:
- SMTP host: for example
mail.yourdomain.com(your host will tell you the right value) - Encryption: SSL on port 465 or TLS on port 587
- Authentication: on
- Username: the full email address
- Password: the mailbox password
- From email: the same address you are logging in with
- From name: your business name
Turn on the option to force the From email, so every plugin on your site uses the authenticated address.
Using Google Workspace or Microsoft 365
These providers prefer secure app connections over plain passwords. The SMTP plugins above offer guided setups for both, which use an authorization flow instead of storing your main password. Follow the plugin's wizard.
Step 4: Fix your contact form settings
Open your form plugin's notification settings (Contact Form 7, WPForms, Gravity Forms, Fluent Forms and others all have them) and check:
- From should be your domain address, like
website@yourdomain.com, not the visitor's email - Reply-To should be the visitor's email field, so clicking Reply in your inbox goes to them
- To should be the address where you actually want to receive submissions
This single change fixes a large share of "form not sending" problems even before SMTP is set up.
Step 5: Test properly
- Use the test email feature in your SMTP plugin. It shows a detailed error if the connection fails.
- Submit your real contact form with an outside address, such as a personal Gmail account, and check both inbox and spam.
- Trigger a password reset to test system emails.
- Turn on email logging in your SMTP plugin, if available, so you can see what was sent.
Common SMTP errors and fixes
"Could not authenticate"
The username or password is wrong, or the username is not the full email address. Reset the mailbox password and enter it again.
"Connection timed out"
The port may be blocked or the host name is wrong. Try port 587 with TLS instead of 465 with SSL, or confirm the server name with your host.
Messages send but land in spam
Check SPF, DKIM and DMARC, make sure the From address matches the authenticated mailbox, and avoid spammy subject lines in your notification templates.
Store a backup of submissions
Even with SMTP working, it is smart to save form entries in your WordPress database. Many form plugins do this by default or with a setting. If an email ever fails, the submission is still there in your dashboard.
Wrap-up
WordPress email fails because unauthenticated server mail looks untrustworthy to inbox providers. Create a dedicated mailbox, set up SPF and DKIM, route mail through an SMTP plugin, put your own domain in the From field and the visitor in Reply-To, and test with an outside address. Your contact forms will go from "maybe" to reliable.