Why your website's contact form emails go to spam (and how to fix it)
Contact form messages missing or landing in spam? The real causes, from PHP mail to missing SPF, DKIM and DMARC records, and a step-by-step fix for WordPress sites.
Contact form emails usually go to spam, or vanish entirely, because your website sends them in a way that email providers cannot verify. The fix is to send form emails through a proper email service using SMTP or an API, from an address on your own domain, with SPF, DKIM and DMARC records set up so Gmail and Outlook can confirm the message is genuinely from you.
If your form “works” but enquiries have gone quiet, read on. You may be losing customers without knowing it.
How do you know if you have this problem?
Test it now:
- Fill in your own contact form with a Gmail address as the visitor’s email.
- Check the inbox the form is supposed to deliver to, and its spam folder.
- Repeat with a different email provider, such as Outlook or Yahoo.
If the message arrives late, lands in spam, or never arrives, your form has a delivery problem. Many business owners find out only after a customer says “I filled in your form weeks ago.”
Why does this happen?
Your site uses the server’s built-in mail function
By default, WordPress sends email through PHP’s mail() function on your web host. Those messages come from a shared server that sends mail for thousands of other websites, with no proof that it is allowed to send on behalf of your domain. Email providers treat that with suspicion.
The “From” address pretends to be the visitor
Many form plugins set the email’s “From” address to whatever the visitor typed, so the message appears to be from [email protected] while actually coming from your web server. Gmail can see that your server is not Gmail and is likely to reject or filter it. The visitor’s address belongs in the Reply-To field, not From.
Your domain has no authentication records
Since 2024, Google and Yahoo have required senders to authenticate their email, and messages without authentication are far more likely to be filtered. Three DNS records do this:
| Record | What it does |
|---|---|
| SPF | Lists which servers are allowed to send email for your domain |
| DKIM | Adds a digital signature proving the message was not altered and came from an authorised sender |
| DMARC | Tells receiving providers what to do when SPF or DKIM fail, and sends you reports |
How do you fix it on WordPress?
Step 1: Use a transactional email service
Sign up with an email delivery service such as Resend, Brevo, Postmark, Amazon SES, Mailgun or SendGrid. Several have free tiers that easily cover a small business contact form. Google Workspace or Zoho Mail SMTP can also work if you already use them.
Step 2: Verify your domain with that service
The service will give you DNS records to add at your domain registrar or DNS provider: usually SPF and DKIM entries, sometimes a return-path record. Add them exactly as shown, then wait for the service to confirm verification.
Step 3: Add a DMARC record
If you do not have one, start with a monitoring policy:
Host: _dmarc
Type: TXT
Value: v=DMARC1; p=none; rua=mailto:[email protected]
p=none changes nothing about delivery; it just starts collecting reports. Once you are confident all your legitimate email passes, you can move to p=quarantine.
Step 4: Connect WordPress to the service
Install an SMTP plugin (such as WP Mail SMTP or FluentSMTP), choose your provider, and enter the API key or SMTP details. All WordPress email, including form notifications, will then go through the verified service.
Step 5: Fix the From and Reply-To fields
In your form plugin’s notification settings:
- From: an address on your own domain, such as
[email protected] - From name: your business name
- Reply-To: the visitor’s email field
Now when you press Reply, your answer goes to the customer, and the original message passes authentication.
Step 6: Test again, and keep testing
Repeat the test from the start of this article. Then set a reminder to test every few months, and after any plugin, hosting or DNS change.
Anything else that helps?
- Stop spam submissions with a hidden honeypot field or a privacy-friendly challenge such as Cloudflare Turnstile, so bots do not damage your domain’s reputation.
- Send a copy somewhere else. Many form plugins can also save entries in the WordPress dashboard, so nothing is lost even if an email fails.
- Keep the form short. Fewer fields means more people finish it.
Forms that really send
Every SiteNirman site has its contact forms tested end to end before launch, with messages sent from your own domain through a verified service, so enquiries reach your inbox and not a spam folder. It is one of the details covered in what a small business website should cost, and it is included on every plan.
Want this done for you? SiteNirman writes, builds and checks small business websites, with search basics and working forms included. Sites start at ₹1,999, paid once.