Solution

Contact form emails going to spam? Here is what is usually broken

A website can look perfect and still lose every enquiry, because the form's notification email never reaches the inbox. It is one of the most common faults we find, and it often goes unnoticed for months because nothing visibly breaks.

Why form emails disappear

Most website forms send their notification using the web server's built-in mail function. That message claims to come from your domain, but it is sent from a shared hosting server that your domain has never authorised. Gmail, Outlook and other providers check this, and an unauthorised sender is exactly what spam looks like.

Authorisation is handled by three DNS records. SPF lists which servers may send for the domain. DKIM adds a signature that proves the message was not altered. DMARC tells receiving servers what to do when the first two fail, and asks the From address to match the authenticated domain. Large providers have tightened their rules in recent years, so setups that limped along before now fail outright.

The second common cause is the From address itself. Many forms put the visitor's email in the From field so a reply goes straight to them. To Gmail, that looks like your server forging someone else's address. The right pattern is to send from your own domain and put the visitor's address in Reply-To.

Static and serverless sites have their own version of this problem. With no mail server at all, forms need an external service to send email. Choosing one that supports domain authentication, logs every send and reports failures back to the form keeps delivery reliable and makes problems visible the moment they happen.

How we diagnose and fix it

Send a test and read the headers

We submit the form and open the raw message. The authentication results show which check fails and why.

Fix the sender

From becomes an address on your domain; the visitor's address moves to Reply-To.

Move to authenticated sending

The form sends through an email service or SMTP account that your domain authorises, instead of the server's mail function.

Publish DNS records

SPF, DKIM and a starting DMARC policy, added without breaking your existing mailbox setup.

Add a safety net

If sending fails, the visitor is told plainly and offered email or WhatsApp with their details pre-filled.

From the work

We have rebuilt form handling for exhibition company sites, a candle brand's order form and our own site. The details that bite:

  1. A form that shows “thank you” whether or not the email was sent is the real bug. We make the form wait for the send result and tell the truth.
  2. Shared hosting mail often reports success while the receiving server quietly drops the message. Server logs say “sent”; the inbox says nothing.
  3. Adding a second SPF record breaks both. A domain must have one SPF record that lists every sender, so we merge, never append.
  4. We keep DMARC at a monitoring policy first and tighten it only after a couple of weeks of clean reports.
  5. On static sites with no server, we use a small serverless function that calls an email API. It is free at small volumes and logs every send.
  6. We always send one real test from a phone on mobile data after the fix. Office networks and admin logins hide problems that visitors hit.

Reading the authentication results in plain terms

Gmail's “Show original” view lists three results near the top: SPF, DKIM and DMARC, each marked pass, fail or none. These three words explain most delivery problems.

SPF fail or none means the server that sent the message is not on the domain's list of allowed senders. DKIM fail or none means the message was not signed by the domain, or the signature did not match. DMARC fail means neither of the first two passed in a way that matches the address in the From line. When all three pass and the email still lands in spam, the cause is usually content or reputation, which is rarer for simple form notifications.

One subtle case catches many sites: SPF and DKIM pass, but for a different domain, such as the hosting company's. DMARC then fails because the From address belongs to your domain while the authentication belongs to someone else. The fix is to authenticate your own domain with the sending service, so all three results line up.

Quick self-check before you call anyone

  • Submit your own form with a Gmail address and check both the inbox and the spam folder.
  • Open the received email, choose “Show original”, and look for SPF, DKIM and DMARC results.
  • Check whether the From address is your domain or the visitor's address.
  • Look up your domain's DNS for more than one SPF record.
  • Ask whether anyone has received a form email in the last month at all.

Quick glossary

TermPlain meaning
SPFA DNS record listing the servers allowed to send email for your domain
DKIMA signature added to each email that proves it came from your domain
DMARCA policy that tells receivers what to do when SPF and DKIM fail
Reply-ToWhere replies go, which can differ from the sender address
Email APIA service that sends email over HTTPS with proper authentication
HeadersTechnical details at the top of every email, including authentication results

Prevention

Once fixed, the setup should be monitored rather than trusted. A weekly test submission, or a simple health check that confirms the sending service is configured, catches problems before buyers do. On new sites we build this in from day one as part of our website design and development service, together with a visible fallback so a failed send never becomes a lost lead.

Not included (optional)

  • Fees for a paid email-sending plan, if your volume needs one.
  • Setting up business mailboxes (Google Workspace, Zoho Mail).
  • Newsletter and bulk email deliverability.
  • Rebuilding the form's design.

Questions people ask us

Can you fix this without rebuilding our site?

Usually, yes. Most fixes are DNS records plus a change to how the form sends. WordPress, custom PHP and static sites can all be fixed in place.

Will this affect our normal email?

No, if it is done carefully. We read your existing DNS first and merge records so your current mailboxes keep working.

How quickly does it start working?

DNS changes usually take effect within an hour or so. We test straight after and again the next day.

Why did it work before and stop?

Providers tightened sender rules, hosts changed servers, or someone edited DNS. The headers of a test email show which.

Do we need DMARC if SPF and DKIM pass?

Yes, for most domains now. Large mailbox providers increasingly expect it, and it protects your domain from being spoofed by others.

Can a form send to more than one inbox?

Yes. The sending service can deliver to several addresses, and the same authentication applies to all of them.

Is a free email service enough?

For small sites, free tiers of reputable email APIs usually cover form volume comfortably. We check your expected volume before choosing.

Want this for your business?

Send a few lines about where you are now. You get a reply within one working day, with questions or a fixed-price quote.