WordPress contact form emails not being delivered: how to fix it
Contact form emails usually go missing because WordPress sends them from your web server with no proof they are really from your domain, so Gmail, Microsoft and others reject or hide them. The fix is to send through a proper mail account or email service and make sure your domain's SPF, DKIM and DMARC records agree.
You test your contact form. The page says "Thank you, your message has been sent." Then you wait, and nothing arrives. Or worse, you do not test it at all, and customers believe they have written to you while you never see their messages. This page explains why that happens on WordPress and how to fix it without being a developer.
What the problem looks like
The symptoms vary, but the cause is often the same:
- The form shows a success message, but no email reaches your inbox.
- Emails arrive in spam or junk, sometimes only for some people on your team.
- Emails arrive late, or only to some addresses (for example your Gmail works but your company address does not).
- The form shows an error such as "There was an error trying to send your message".
- It worked for months and then stopped, often after a hosting change, a new email provider or a mail provider tightening its rules.
A success message only means WordPress handed the email to the server. It does not mean the email was accepted by your mailbox provider.
Why it matters
Every lost message can be a lost enquiry, order question or support request. Visitors cannot tell the form failed, so they assume you ignored them. There is also a trust and security side: if your domain sends mail with no authentication, others can more easily pretend to be you, and your real mail is more likely to be treated as suspicious.
Why it happens
By default, WordPress sends email using the web server itself (through a PHP function called by wp_mail). Those emails claim to come from your domain, but they leave from your hosting server, which your domain's DNS may not mention. Mailbox providers check this, and when it does not add up, they reject the message or put it in spam.
The usual causes:
- No SMTP setup. The form uses the server's basic mail, which is easy to flag as untrustworthy.
- A mismatched From address. The form sets the visitor's email as the sender. Your server is not allowed to send as
someone@gmail.com, so it fails. The From address should be on your own domain, with the visitor's address in Reply-To. - Missing or broken SPF, DKIM or DMARC. These are DNS records that say which servers may send for your domain. See missing SPF record and DKIM signature failing.
- Your host limits outgoing mail. Some hosts block or cap it, especially on shared plans.
- A plugin conflict or wrong recipient. The "To" address in the form settings has a typo, or another plugin changes outgoing mail.
How to check (free ways)
- Check the basics first. Open your form plugin's settings (Contact Form 7, WPForms, Gravity Forms, Fluent Forms and Elementor forms each have a notification or mail section). Confirm the recipient address is correct and spelled right. Look in spam and junk too.
- See if the form stores entries. Some plugins save submissions in the dashboard (Gravity Forms and paid WPForms plans do, depending on your plan and settings). If entries appear but no emails do, the form works and email delivery is the problem.
- Send a test email. SMTP plugins such as WP Mail SMTP include a test email button. Many also keep a log, depending on the plugin and version.
- Read the result in the headers. In Gmail, open a received message, choose the three dots, then "Show original". You will see SPF, DKIM and DMARC listed as PASS or FAIL. FAIL or missing results point to the DNS problem.
- Use a free checker. Tools such as mail-tester.com (send one email to a temporary address and get a score) and MXToolbox (look up your SPF, DKIM, DMARC and MX records) show what is wrong in plain terms.
How to fix it
Step 1: Stop using the server's default mail. Install a well-known SMTP plugin such as WP Mail SMTP, FluentSMTP or Post SMTP. Connect it to a real sending service. Common options are Google Workspace or Microsoft 365 (if you already use them for email), or a transactional service such as Postmark, SendGrid, Mailgun, Amazon SES or Brevo. Plugin screens differ by version, so follow the plugin's own setup guide for your provider.
Step 2: Fix the From address. In your form's notification settings, set From to an address on your own domain, for example website@yourdomain.com. Put the visitor's email in the Reply-To field. In Contact Form 7 this is on the Mail tab, where Reply-To is usually added under additional headers. In other plugins look for "From Email" and "Reply-To".
Step 3: Fix your DNS records. Your sending service will give you records to add at your DNS host (where your domain is managed):
- SPF lists who may send for your domain. You can only have one SPF record, so add the new service to the existing one rather than creating a second.
- DKIM adds a digital signature. Your sending service gives you the record to publish.
- DMARC tells receivers what to do when checks fail. Start with a simple policy and add a reporting address.
DNS changes usually take from a few minutes to a few hours to show everywhere, and occasionally longer.
Step 4: Ask your host if needed. If the SMTP plugin cannot connect, your host may block certain mail ports. Ask support which port to use, or choose a provider that sends over a web connection (an API) if your plugin supports it.
For platform specific steps, see our WordPress guide.
How to confirm the fix worked
- Submit the real form from a different device and network, using an outside email address.
- Check the message arrives in the inbox, not spam, and that Reply-To is the visitor's address.
- Open Show original in Gmail and confirm SPF, DKIM and DMARC all show PASS.
- Test with more than one provider, such as Gmail, Outlook and your own company mailbox.
- Send a mail-tester.com test and read any warnings.
If some messages still land in spam, our guide to emails going to spam covers the next steps.
How to stop it coming back
Email setups break quietly. A new email provider, a changed DNS host, an expired API key or a plugin update can all stop delivery without any visible error. A few habits help:
- Submit a test through your form once a month and note the date.
- Keep a log in your SMTP plugin if it offers one, and turn on failure alerts if available.
- Update your SPF and DKIM records whenever you add or change a service that sends email for you.
- Keep a record of who controls your DNS and your sending service, so a developer can act fast.
- Use a mailbox that several people can read, so one person leaving does not hide enquiries.
SiteMonday checks this as part of week 10, which covers domain, SSL and email deliverability. The report lists what it finds and ranks the fixes. SiteMonday finds and explains the problems, and you or your developer make the changes.
Questions
Why does my form say the message was sent when nothing arrives?
The success message only means WordPress passed the email to your server. The receiving provider can still reject it or send it to spam afterwards, usually because of missing authentication or a mismatched From address.
Do I need an SMTP plugin?
In most cases yes. Sending through an SMTP plugin connected to a real mail account or email service is the most reliable fix, because the messages are properly authenticated.
Should the visitor's email be the From address?
No. Use an address on your own domain as From, and put the visitor's email in Reply-To. Your server is not allowed to send as someone else's domain, so that setup often fails.
Do SPF, DKIM and DMARC really matter for a contact form?
Yes. Major mailbox providers check them, and failing or missing records are a common reason form emails are rejected or filtered, even when you are only sending to yourself.
How long does it take for DNS changes to work?
Often a few minutes, but sometimes a few hours or longer. If a test still fails right after a change, wait and try again before changing anything else.
The form worked before and suddenly stopped. What changed?
Common triggers are a hosting move, a new email provider, a DNS change, an expired plugin connection or a mail provider tightening its checks. Run a test email and check the headers to see which check fails.