Guide · Development
Your contact form stopped sending emails: a 10-minute diagnosis
By The Microployed teamUpdated 5 min read
The short answer
Submit the form yourself and read the exact message it shows, check spam, then look for saved entries and send a test email straight from the site. Those checks tell you whether the form, the site's mail setup or the receiving inbox is at fault, and the usual fix is a From address on your own domain, sent through a proper SMTP service with SPF and DKIM in place.
The steps, about 10 minutes
Step 1: Submit the form yourself
Use a personal address you can check, and write down the exact message the form shows after you press Send.
Step 2: Search the inbox and spam folder
Look for your test in the receiving inbox, its spam folder and any filters or forwarding rules that might move it.
Step 3: Look for saved entries
Open your form plugin's entries or submissions screen to see whether your test was recorded on the site.
Step 4: Send a test email from the site
Use your SMTP plugin's test tool, such as the Email Test tab under WP Mail SMTP > Tools, to see whether the site can send anything at all.
Step 5: Check the form's mail settings
Confirm the To address is current, the From address is a real mailbox on your own domain, and the visitor's address is in Reply-To.
Step 6: Read the header of a delivered message
In Gmail, open a form email, click More next to Reply, choose Show original and check whether SPF and DKIM passed.
Why a form can say "sent" when nothing arrives
A success message on a contact form usually means only that the website handed the email to a sending system, not that it reached anyone's inbox. Contact Form 7's FAQ puts it plainly: a green confirmation means the PHP function for sending mail completed successfully, and whatever goes wrong after that happens outside the form. WordPress also has no mail server of its own, so form email depends on whatever your host or an SMTP plugin provides. That's why a form can work for years and then stop the week after a host move, a DNS change or a switch to a new email provider.
The diagnosis comes down to finding which of three places the message stops: the form never submits, the site fails to send, or the receiving inbox rejects or hides it. Each check in the steps above rules out one of those, and they're ordered so the quickest checks come first.
Read the form's own error message first
The message a visitor sees after pressing Send tells you which half of the problem to work on. In Contact Form 7, a red-bordered "There was an error trying to send your message" means the plugin called wp_mail() and the call failed, which points at the site's mail setup or the mail server. An orange border with the same wording means a spam protection module blocked the submission, so the fix is in your spam settings rather than your email. A green confirmation with no email means the hand-off worked and the message was lost or filtered somewhere later.
Other form plugins word these messages differently, but most of them separate a sending error from a successful submission. Write down exactly what you saw, because anyone you hand the job to will ask for it first.
Check whether the entries were saved
Many form plugins keep a copy of every submission on the site, and finding that copy turns an emergency into a cleanup. Look in your form plugin's menu for an entries or submissions screen. Contact Form 7 doesn't store messages itself, but its free companion plugin Flamingo saves them under Inbound Messages once it's installed. If entries are there and emails aren't, you know the form works and only the notifications are failing, so you can reply to the people who wrote in while you sort out the rest.
Send a test email that skips the form
A test email sent straight from the site tells you whether WordPress can send anything at all. If you use WP Mail SMTP, go to WP Mail SMTP > Tools and open the Email Test tab, which sends a message to any address you choose and shows an error with suggested next steps when sending fails. If the test arrives but form emails don't, the problem is in the form's own mail settings, such as a typo in the To address or a To field still pointing at someone who left. If the test fails too, the site's mail setup is broken, and no change to the form will help.
Read the header of a message that did arrive
When messages arrive late or land in spam, the email's header usually shows why. In Gmail on a computer, open the message, click More next to Reply and choose Show original, which opens the full header in a new window with the SPF and DKIM results near the top. You can also copy the header into Google Admin Toolbox Messageheader to have it read for you. Gmail's sender guidelines require every sender to authenticate with SPF or DKIM, so a failure on both is a strong sign you've found the cause.
The causes behind most broken forms
Most broken forms come down to a short list of causes, and this table maps each symptom to where the fix usually lives.
| What you see | Likely cause | Where to fix it |
|---|---|---|
| Red error after pressing Send | The site can't send mail | Host mail settings or an SMTP plugin |
| Orange error after pressing Send (Contact Form 7) | Spam protection blocked it | Spam module or CAPTCHA settings |
| Success message, nothing in the inbox or spam | The receiving server rejected it | From address, SPF and DKIM |
| Success message, email lands in spam | Weak or missing authentication | SPF, DKIM and DMARC records |
| Test email arrives, form email doesn't | The form's own mail settings | To, From and Reply-To fields |
The From address causes more trouble than anything else on that list. WordPress sends from wordpress@ plus your domain by default, an address that often has no mailbox behind it, and the WordPress handbook recommends using a real mailbox on your domain instead. Setting the visitor's own address as the From address is worse, because their email provider never authorized your server to send on its behalf, and Gmail's guidelines specifically warn senders not to impersonate Gmail From headers. Put the visitor's address in Reply-To instead, which still lets you answer them with one click. Contact Form 7 even flags a From address on a different domain from your site as a configuration error, which is worth fixing even if mail seems to be getting through today.
When to stop diagnosing and hand it off
If your checks show the site can't send at all, the fix usually means choosing a sending service, configuring an SMTP plugin to use it, and adding SPF and DKIM records for that service in your DNS. The DNS part deserves care, because a domain can only have one SPF record and a second one breaks authentication for every email your domain sends, not just the form. Our job template for a contact form that stopped sending lists the access to give and how to check the result, and the SPF, DKIM and DMARC template covers the DNS side if your domain needs a full pass.
Short on time? Hand this one off.
Post it as a small job and a pro who knows WordPress picks it up, with the price set before anyone starts. Businesses in the beta get credits to try it.
Post this as a job on MicroployedThe next level up
Once form emails arrive, you can start measuring which ads bring in leads
A working notification tells you someone wrote in, but not which campaign or page sent them. A pro can record each successful form submission as a key event in Google Analytics 4 and as a lead conversion in Google Ads, so you can see lead counts next to each campaign and put your budget where the inquiries come from.
Post the form tracking jobQuestions people ask
Why does my contact form say sent but I get no email?
The success message usually means only that the site handed the email off. It can still be rejected by the receiving server or filtered into spam, most often because the From address isn't a real mailbox on your domain or the domain has no SPF or DKIM record for the server that sends it.
Can I use the visitor's email address as the From address?
No. Your server isn't authorized to send for the visitor's domain, so receiving servers treat the message as spoofed. Use a mailbox on your own domain as the From address and put the visitor's address in Reply-To.
Do I need an SMTP plugin for WordPress forms?
WordPress has no mail server of its own and relies on whatever your host provides. Many hosts handle this well, but when host mail is unreliable, an SMTP plugin that sends through your email provider or a sending service is the most common fix.
Where can I find form messages that never arrived by email?
Check your form plugin for an entries or submissions screen. Contact Form 7 doesn't store messages itself, but the free Flamingo plugin saves submissions under Inbound Messages from the time it's installed.
Sources
Checked against these pages on .
- Email (WordPress Advanced Administration Handbook) (opens in a new tab)
- FAQ (Contact Form 7) (opens in a new tab)
- Save submitted messages with Flamingo (Contact Form 7) (opens in a new tab)
- Sender email address does not belong to the site domain (Contact Form 7) (opens in a new tab)
- Sending a Test Email (WP Mail SMTP docs) (opens in a new tab)
- Trace an email with its full header (Gmail Help) (opens in a new tab)
- Email sender guidelines (Gmail Help) (opens in a new tab)