A contact form that doesn’t work is the most expensive bug a business website can have, and the hardest to notice. Your site looks fine. Visitors fill in the form. They see “Thank you, we’ll be in touch”. And the message goes nowhere.
You only find out when someone calls and asks why you never replied. By then, how many others simply went to a competitor?
Why WordPress emails disappear
By default, WordPress sends email through PHP’s built-in mail() function on your web server. That worked reasonably well fifteen years ago. Today it’s unreliable, for three reasons:
| Reason | What happens |
|---|---|
| No authentication | Your server sends mail claiming to be from your domain, without proving it. Gmail, Outlook and others treat that like a stranger signing your name. |
| Missing SPF / DKIM / DMARC records | These DNS records tell receiving servers which senders are allowed to use your domain. Without them, your mail looks forged. Since 2024, Gmail requires at least SPF or DKIM from every sender. |
| Shared server reputation | On shared hosting, your site shares an IP address with hundreds of others. If one of them sends spam, your mail suffers too. |
The result: the message is either rejected silently, filed as spam, or never leaves the server. Your form plugin only knows it handed the message over. That’s why it happily shows “sent”.
Step 1: Test it properly
Don’t test by sending a form to yourself once. Test like this:
- Submit the form from a phone, not logged in, using an email address on a different provider than the one receiving it (for example a Gmail address if you receive on Outlook).
- Check spam and junk folders on the receiving side.
- Install an email log plugin temporarily (several free ones exist). It records every email WordPress tries to send, so you can see whether WordPress sent it at all.
- Check the deliverability score: tools like mail-tester.com give you an address to send to and grade how “trustworthy” your email looks, including which DNS records are missing.
Now you know which problem you have:
- Email not in the log → the form or WordPress isn’t sending at all (plugin problem)
- Email in the log, not delivered → deliverability problem (the common case)
- Email delivered to spam → authentication problem
Step 2: Check the form’s “From” address
This is the most common single mistake. Many forms are configured to send from the visitor’s email address, so that hitting “Reply” works. It sounds logical. To Gmail, it looks like your server is impersonating gmail.com. Rejected.
The correct setup:
- From: an address on your own domain, e.g.
website@yourcompany.com - Reply-To: the visitor’s email address (most form plugins have a field for this)
You still reply with one click, and the email no longer looks forged.
Step 3: Send through SMTP, not the server
The real fix is to stop using PHP mail() and send through an authenticated mail service instead. You do this with an SMTP plugin; WP Mail SMTP and FluentSMTP are the well-known ones. The plugin reroutes all WordPress email, not only forms: password resets, WooCommerce orders, notifications.
Where to send it through:
| Option | Good for | Notes |
|---|---|---|
| Your existing mailbox (Google Workspace, Microsoft 365, your host’s email) | Low volume, simple sites | Sending limits apply; use an app password or OAuth, never your main password |
| A transactional email service (e.g. Brevo, Postmark, Mailgun, Amazon SES) | Shops, membership sites, anything important | Built for exactly this; most have a free tier covering a small business site |
Whichever you choose, the service gives you DNS records to add.
Step 4: Add the DNS records
In your domain’s DNS settings (at your registrar or wherever DNS is hosted, sometimes Cloudflare), you’ll add:
- SPF: a TXT record listing who may send mail for your domain. You can only have one SPF record; if one already exists, merge the new service into it rather than adding a second.
- DKIM: a record that lets receivers verify a digital signature on your email. Your mail service gives you the exact value.
- DMARC: a record telling receivers what to do with mail that fails the checks. Start with a monitoring policy (
p=none) and tighten it later.
DNS changes can take a few hours to apply. Then test again with mail-tester.
Step 5: Never rely on email alone
Even perfect email setups fail sometimes: a full mailbox, a server outage, an overzealous filter. So add a safety net:
- Store every submission in the database. Many form plugins do this out of the box; for Contact Form 7, an add-on like Flamingo does it. If an email is lost, the lead isn’t.
- Keep spam protection light but present. A honeypot field or a privacy-friendly challenge like Cloudflare Turnstile stops most bots without annoying people.
- Mind privacy. Stored submissions are personal data. Keep only what you need and delete old entries regularly.
Step 6: Test it every month
Forms break silently after plugin updates, DNS changes, hosting moves, or a mail service changing its rules. The only defense is routine: submit the form once a month and confirm it arrives.
It takes two minutes, and it’s the check most site owners never do.
Quick checklist
| ✓ | Check |
|---|---|
| ☐ | Form tested from an outside address, spam folder checked |
| ☐ | “From” uses your own domain; visitor’s address in Reply-To |
| ☐ | SMTP plugin connected to an authenticated mail service |
| ☐ | One SPF record, DKIM and DMARC published |
| ☐ | Submissions stored in the database |
| ☐ | Spam protection active |
| ☐ | Monthly test submission scheduled |
Not sure your form works?
If you just realized you can’t remember the last time someone contacted you through your website, that’s worth checking today. The free Health Check includes your forms: whether they deliver, whether they’re protected from spam, and whether submissions are tracked as conversions.