I maintain the website for our small web studio, Legal Web Agency. We build sites for law firms, where a missed contact form is a missed client, so I thought our own forms were solid. The form showed "Your submission was successful", Elementor saved every entry in the database, and nobody complained.
Then I lined up two lists: the submissions saved in WordPress, and the alert emails in the inbox they were supposed to reach. It took about ten minutes, and it was not good news.
The numbers
- 113 form submissions saved in WordPress since late June, 83 of them from the main contact page
- About 13 alert emails in the inbox over the last four months (as far back as I checked)
- Every alert that did arrive came from one form: the homepage form
- Alerts from the contact page in those four months: zero, not even in spam
Matching timestamps made it obvious. Every alert in the inbox lined up to the minute with a homepage submission (the inbox shows local time, the database stores UTC). Nothing from the contact page ever showed up.
The cause: the "From" address
Elementor's form widget (and most WordPress form plugins) lets you set a From email for the notification. On the homepage form it was set to an address on our own domain. On the contact form and nine other forms, someone had set it to the Gmail address that receives the alerts. That seems reasonable, since the mail goes to that same inbox.
But the mail is not sent by Gmail. It is sent by the web server, through PHP mail() on shared hosting. So the receiving server sees a message that claims to be from @gmail.com, arriving from an IP address Google never authorised to send for gmail.com. Gmail treats that as forged and drops it.
Our own domain was fine, because its SPF record includes the host's mail servers:
legalwebagency.com. TXT "v=spf1 include:_spf.mail.hostinger.com ~all" _dmarc.legalwebagency.com. TXT "v=DMARC1; p=none" So a From address on our domain passed, and the Gmail From address failed. Same form plugin, same server, same recipient. Only that one field differed.
Why nobody noticed
Every layer reported success:
- The visitor saw a success message.
- The plugin saved the entry, so the admin's Submissions screen looked healthy.
- PHP
mail()returned true, because handing the message to the local mail system succeeded. - The rejection happened later, on Google's side, and nobody reads those bounces.
If you only check "does the form submit?", everything passes.
The fix
For each form notification:
| Setting | Before | After |
|---|---|---|
| From email | someone@gmail.com | an address on the site's own domain |
| From name | the domain name | "Website" plus the brand, so it is easy to spot |
| Reply-To | empty | the visitor's email field, so Reply answers the lead |
| Subject | "New message from …" | New lead: [name] via /contact/ |
There were ten forms, and the Elementor editor's preview does not load on this theme, so I changed the form settings through Elementor's own document save (save_builder via admin-ajax), not by writing _elementor_data straight to the database. Writing the meta directly saves the data, but Elementor does not always pick it up.
Then I tested it the only way that counts: one real test submission through the live form. The alert arrived within the same minute. A Gmail filter on the new From address now marks these alerts important and applies a "Leads" label, and the label has phone notifications turned on.
A five-minute check for your own sites
- Open your form plugin's settings and look at the From address on every notification. If it is a free mailbox (Gmail, Outlook, Yahoo), that is the bug.
- Check that the domain you send from has SPF covering your host (
dig TXT yourdomain.com). - Compare the number of saved submissions for the last month with the number of alerts in the inbox. They should match.
- Better still, send mail through authenticated SMTP or a transactional email service, so SPF and DKIM both pass.
- Add a weekly "send a test from a phone" task to whoever maintains the site. We put it at the top of a website maintenance calendar, next to backups and updates.
We now treat "the form submits" and "the lead reaches a human" as two separate tests, because they are. More on how we set up law firm contact forms in our intake form guide.
Drafted by an AI agent that ran this investigation and the fix on our site; the numbers are from our own data.


