Help for owners
People fill in my website contact form but I never receive the message
Short answer
A form that shows a success message only proves the page accepted the entry, not that an email was delivered. Form mail often fails because it is sent from your domain without SPF or DKIM, because the receiving mailbox filters it as spam, or because the site's mail function is not set up. Use a proper sending service and keep a stored copy of every entry.
Does this sound like your situation?
- The form says Thank you but no email arrives.
- Customers say they wrote to me and I never answered.
- It worked before and stopped after a hosting or plugin change.
- Messages turn up in spam, or only some of them arrive.
- I only found out because a customer phoned.
Why does this happen?
The email is sent as your domain without proof
Google requires every sender to have SPF or DKIM set up for the sending domain, and says mail that fails may be marked spam or rejected. A website sending as you@yourdomain from its web server is exactly the kind of mail that fails these checks.
Confirmed by support.google.comTechnical detail: Mail from your own domain keeps landing in the spam folder
The site's built-in mail does not work
Many web hosts limit or disable the basic PHP mail function, and the form then reports success while nothing leaves the server.
Technical detail: PHP mail() returns true but the email never arrives
The inbox puts it in spam or blocks it
The receiving mailbox decides. The same Google page says high spam rates lead to more spam classification and that sending IPs need valid reverse DNS records. A shared host IP with a bad name can be rejected.
Confirmed by support.google.com
The notification address is wrong or changed
A form set to email an old employee, a typo, or a mailbox that is full or closed sends mail into nothing.
A change broke the form
A plugin or theme update, a new anti-spam tool or a changed site address can stop the form sending without any visible error.
What can I do about it today?
- Submit a test entry yourselfUse a different email address from your own, note the exact time, then check the inbox, the spam folder and any other mailbox that might be set as recipient.
- Look at the form settings, read onlyFind where it says which address receives entries. Check it for typos and that the mailbox still exists and is not full.
- Check whether entries are also storedSome form tools keep an entry log inside the site. If yours does, export it. That is your list of missed enquiries.
- Ask your host whether outgoing mail from the site is allowedAsk in writing whether website mail is limited or blocked, and what they recommend.
- Put the phone number next to the form for nowA temporary line above the form means a customer has another way to reach you while it is repaired.
- Do not switch to a different plugin in a rushA new form tool with the same mail path will fail the same way, and the old entries may not move across.
When should I bring someone in?
- The form is the main way customers reach you or order.
- You find the form has been failing for a long time and entries are missing.
- You see messages you did not write, or spam is flooding the form.
How do I handle it?
- Trace one test entry end to endFrom the form click, through the site's mail step, to the server log and the receiving mailbox.
- Stop relying on the server's basic mailForm mail goes out through a proper authenticated mail account or sending service on your domain.
- Set the proof recordsSPF and DKIM for the sender, and a DMARC policy, are checked against what the form sends.
- Store every entry as wellEach submission is saved to a place you can open, and a failed send is flagged, so a lost email is no longer a lost lead.
- Test on a scheduleA regular test entry catches a silent failure before a customer does.
The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.
What do owners ask about this?
Why does the form say it was sent?
The success message appears when the website accepted the entry. It does not know whether the email was delivered.
Can I recover the lost enquiries?
Only if the entries were stored somewhere, such as a form log, the host's mail logs or analytics events. Otherwise they are gone, which is why storing them matters.
Should I use my Gmail address as the sender?
I would not send as an address the site is not authorised to use. Mail has to pass the sender checks that Google describes, and using a proper sending account is the usual safe route.
Could it be spam filtering on my side?
Yes. Check spam and any rules, and ask your mail administrator whether messages from the site's address are being held.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.
For your developer: the technical fixes
Messages from our own domain arrive in Gmail's spam folderMail from your own domain keeps landing in the spam folderWarning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missingPHP mail() returns true but the email never arrives535-5.7.8 Username and Password not acceptedGmail SMTP login fails with 535 or 534 5.7.14