All WordPress HTML Templates Forms & Webhooks AI & Tools
Forms & Webhooks

When a WordPress Form Says Sent but Email Fails

A success banner only proves the form finished. Here is how to find where a WordPress form email fails: settings, transport or inbox, and how to test it.

Desk with a sealed envelope beside an empty mail tray and a blurred confirmation screen

Suppose a client writes that the contact form says “Thank you, your message has been sent” and nobody on their team has seen a single enquiry since Tuesday. You open the form, submit it yourself, get the green banner, and have no idea where the message went.

A success message on a WordPress form shows that the form reported success. It does not prove the email was sent, accepted by the receiving server, or placed in an inbox, so you have to check each of those steps separately.

This post is for developers and small studios who maintain WordPress sites and need to find which of three places is broken: the form’s notification settings, the site’s mail transport, or the mailbox that receives the message. It finishes with a test you can run in one sitting and a way to keep submissions even when email fails.

Key Takeaways

  • “Sent” is a form status. WordPress’s own wp_mail() can return true without confirming receipt, so a true return and a green banner both leave the inbox question open.
  • Send a baseline test mail first. If it arrives and the form’s mail does not, start with the form’s notification settings. If neither arrives, check the shared mail transport and the receiving mailbox.
  • Keep the recipient, the authorised sender and the visitor’s address in three different fields: To, From and Reply-To.
  • Test with a real submission through the public page, with a unique marker in the message, and trace that one message to the inbox.
  • Store submissions somewhere other than email, so a failed notification costs you a delay and not a lost lead.

What does “sent” mean on a WordPress form?

On a WordPress form, “sent” is the plugin’s success response, and what triggers it depends on the plugin and its settings. The send call can run before that response. Receiving-server acceptance and inbox placement are separate events that can fail without changing the banner.

Flow of five checkpoints from form success message to the message being read in the inbox
Only the last box confirms the message arrived

Take Contact Form 7. It puts a status class on the form element (sent, failed, aborted, spam), and its documented success selector is .wpcf7 form.sent .wpcf7-response-output, per the form status post. That tells you what the plugin reported. In demo mode (demo_mode: on) the plugin skips sending altogether and still shows a success response. Check for demo mode if the site was copied from staging.

Further down the chain, core WordPress hands mail to PHPMailer, which uses PHP’s mail() by default, according to the WordPress mail handbook. And wp_mail() returns a boolean, with the documentation noting that true does not establish the recipient received anything.

What you saw What it proves What it leaves open
Green success banner The form reported success Whether any mail call happened (demo mode skips it)
Entry in Flamingo or another store The submission reached the database Whether a notification went out
wp_mail() returned true The mail call reported success Which transport ran and whether the destination server accepted it
Postmark shows “delivered” The destination server accepted it Spam folder, quarantine, routing rules
You read it in the inbox It reached that inbox Whether future messages will arrive

Takeaway: only the last row settles the argument with your client, so build your test to end there.

Is one form broken, or is WordPress not sending emails anywhere?

Send a baseline test mail from the site to an inbox you can open, ideally the form’s usual destination, then submit the affected form. The pair of results helps you decide where to look first.

If you run WP Mail SMTP, use Tools → Email Test. It lets you change the recipient from your own account email, and the vendor’s test email guide tells you to check the receiving inbox even when the screen reports success. Follow that advice, since the screen is a send-stage result.

  • Baseline arrives, form mail does not: the transport worked for the test. Check the form’s settings and trace its notification separately. Go to the next section.
  • Neither arrives: check the shared transport and receiving mailbox. Look at the host’s mail logs and your provider’s activity page.
  • Both arrive for you but the client sees nothing: verify the client’s address and trace delivery to that mailbox. Skip ahead to the verification section.

When the transport is the suspect and you cannot see why, a temporary diagnostic helps. Put this in a PHP file directly under wp-content/mu-plugins/ on a controlled test copy, make sure you can read the PHP error log, and delete the file when you are done.

<?php
function semicolonweb_log_mail_failure( WP_Error $error ) {
    error_log( 'WordPress mail send failure: ' . $error->get_error_code() );
}
add_action( 'wp_mail_failed', 'semicolonweb_log_mail_failure' );

The wp_mail_failed hook fires when core catches a PHPMailer exception (it exists since WordPress 4.4.0). The callback logs only the generic wp_mail_failed code that core passes to the hook, so use your mailer’s own diagnostics for the cause. Silence proves less than it seems: a custom transport can short-circuit core through pre_wp_mail and never touch this hook.

For the wider toolkit around logs and isolating a culprit plugin, see our post on debugging WordPress with logs and Query Monitor.

Why is my WordPress contact form not sending email? Check To, From and Reply-To

A WordPress contact form not sending email may have a wrong or unauthorised address in the Mail tab: the To field may point at a dead mailbox, or the From address may be one your mail setup is not allowed to use.

Contact Form 7 has separate fields for each job, described in its mail setup guide, and the author’s best practice page recommends a sender on the site’s own domain with the visitor’s address in Reply-To. A working setup looks like this (swap in real addresses):

To:       [email protected]
From:     Example Site <[email protected]>
Additional headers:
Reply-To: [your-email]

That assumes the form has an email field written as [email* your-email autocomplete:email]. If your field has another name, use that mail-tag in Reply-To.

Field Who it should be Common mistake
To The mailbox that acts on leads A former employee’s address, or a typo
From An address on your domain that your mailer is authorised to send as The visitor’s email, which your mailer may be unauthorised to use
Reply-To The visitor’s address, so a reply goes to them Left empty, so replies default to the From address

Takeaway: if the From address is the visitor’s, change it to a site address your mailer authorises and move the visitor to Reply-To. I would not promise that fixes deliverability by itself, but it avoids using an unauthorised From address.

One side trip, because the searches often get mixed up. If you want to change the admin email in WordPress, use Settings → General → Administration Email Address. Saving sends a confirmation to the new address, and the old one stays active until you click the link, per the WordPress documentation. That address receives site administration notices. Your account email lives under Users → Profile. A fixed To address stays as entered, but a form that uses the site admin email can pick up the change. In Contact Form 7, look for the [_site_admin_email] mail-tag in the To field.

How do I set up outgoing email in WordPress so it stops being fragile?

You can replace WordPress’s default use of PHP’s mail() with an authenticated SMTP service or a provider’s API, using a sender address that provider has authorised.

WP Mail SMTP is one way to do it, and its setup wizard walks through choosing a mailer. If you pick Other SMTP, the settings include host, encryption, port, authentication, username and password. Follow your provider’s requirements. I will not give you a port to copy, because the right one depends on the service. The plugin also has an optional Force From Email setting that applies your configured sender across site mail where the mailer supports it.

The checklist:

  1. Choose a mailer that authenticates (SMTP or a provider API).
  2. Add the provider’s DNS records for your sending domain. Google requires SPF or DKIM for all senders to personal Gmail accounts and SPF, DKIM and DMARC for bulk senders. Publishing records alone guarantees nothing, and missing required authentication can lead to rejection.
  3. Set the From address to one the provider authorised.
  4. Run Email Test and read the message in a real inbox.
  5. Only then submit the actual form, because the form has its own recipient, template and headers that the test never touches.

That last point is the reason an SMTP plugin does not “fix the form”. It changes the route the mail takes. If the form’s To address is wrong, the road being good changes nothing.

If your client uses Microsoft 365, check this before you pick a mailer: Microsoft’s revised timeline says existing tenants will have Basic authentication for Exchange Online SMTP AUTH disabled by default at the end of December 2026, and an administrator can re-enable it. For new tenants created after December 2026, Basic authentication will be unavailable by default and OAuth will be the supported method. As of this writing that change has not happened yet, so a site using Basic authentication for Exchange Online SMTP AUTH should move to a supported method now.

How do I test a WordPress form email after the real submission?

Submit the live form the way a visitor would, put a unique marker in a field included in the notification, note the time, and follow that one message from the stored entry, if available, through your provider to the target inbox.

Here is an example run you can copy. Suppose it is 14:32 in the site’s time zone and you type TEST-1432-pricing into the message field.

  1. Submit through the public page, not the admin preview, and from an address you can read, so Reply-To has something real in it.
  2. Check the stored entry. Contact Form 7 itself keeps no history, but Flamingo saves submissions to the database and shows them under Inbound Messages. If the entry is there, you have a copy even if the notification fails.
  3. Look for the same message in your mail provider’s activity. A provider like Postmark records a Delivery event per recipient, with a MessageID, the Recipient, DeliveredAt and the destination server’s response in Details. Postmark records bounces as bounce events.
  4. Open the target mailbox and search for TEST-1432-pricing, including spam and any quarantine.
  5. Hit Reply. The reply should be addressed to the address you submitted with.

The result of step 3 guides your next move. If you find no record at the provider, confirm you’re looking in the right account and check the form settings and transport logs for a send attempt or provider error. If it bounced, read the bounce details for the cause. A “delivered” status with nothing in the inbox means the destination server accepted it, so check spam, quarantine and routing rules for that exact recipient.

That case is the maddening one, because “delivered” in Postmark’s sense is the destination server’s OK, not a human seeing the message. If the destination is Gmail, remember Google’s bulk-sender guidance applies at around 5,000 messages or more to personal Gmail accounts in 24 hours, counting all messages from the same primary domain.

If the live form has conditional recipients or file attachments, repeat the test for each route and check any expected attachments. A form that routes “Sales” to one address and “Support” to another has two routes that can fail independently.

Some failures are not email problems at all. A form’s spam filter can reject a submission before any mail is attempted, which we cover in contact form spam beyond CAPTCHA.

How can I recover submissions when the notification fails?

Look first for any existing stored entries. For future submissions, store each one in a place that does not depend on email, and send a second notification to a different destination.

Start with what already exists: Flamingo’s Inbound Messages if it was installed, and your host’s access logs for evidence of the form’s POST requests. Standard access logs record the request, not the submitted message. I would not promise to recover anything from a site that stored nothing. Without a copy, the useful thing you can do is stop it happening again.

Going forward, treat email as a notification and the database as the record. Two changes help:

  • Install a storage plugin (Flamingo for Contact Form 7) and check it stays on. Be aware that the do_not_store: true setting tells storage modules to skip saving, and skip_mail: on skips mail while leaving storage available.
  • Send the same lead to a second channel such as a team chat channel, a CRM or a second mailbox. A second mailbox can help with recipient-side failures, while a channel outside email can also help if mail transport fails. We lay out the thinking in routing form submissions to Slack, email and your CRM, and the agency view in lead capture architecture for agencies.

If you would rather take WordPress mail out of the form path, a hosted endpoint can do it. WebForms accepts a plain HTML form’s submissions at a hosted endpoint, stores them and can send the email notification, and its free plan lists 300 submissions a month. That means switching the form’s backend, so it suits a custom HTML form better than an existing Contact Form 7 setup you only need to repair.

Your first step this afternoon

Open the affected form’s Mail tab and read To and From, then check Additional Settings for demo_mode and skip_mail. Run the five-step marker test above to see how far the message gets, and check that your storage plugin recorded the test entry.

Frequently Asked Questions

Why does my WordPress form say sent but no email arrives?

The success message comes from the form plugin, not from the inbox. It can show in demo mode without any mail call, and even a successful send call does not confirm the recipient received it. Check the form’s mail settings, then trace one real submission.

How do I test a WordPress form email after submit?

Submit the live public form with a unique marker in a field included in the notification, record the time, then match it to a stored entry if there is one, the provider’s activity and finally the target inbox. Reply to it to confirm Reply-To works.

Will WP Mail SMTP fix my form after a submission?

It configures the outgoing mail path for WordPress, while the form keeps its own mail settings. Run its Email Test and check the inbox, then test the live form. It does not recover submissions that were never stored.

My WordPress contact form email never arrives even though the provider says delivered. What now?

Delivered usually means the destination server accepted the message. Check the exact recipient’s spam folder, quarantine and any routing or forwarding rules on the receiving side, and confirm the address in the To field is correct.

What if WordPress is not sending emails from any plugin?

Start with the shared mail transport. Send a controlled test, read your host’s or provider’s logs, and use the wp_mail_failed hook on a test copy to see whether core catches errors. If the logs point to the default mail transport, consider moving to an authenticated mailer.

How do I change the admin email in WordPress, and does it change my form recipient?

Use Settings → General → Administration Email Address, save, and click the confirmation link sent to the new address. Your user account email and any fixed To address stay as entered. A form recipient that uses the site admin email can change.

Does my form store submissions if the email fails?

Not necessarily. Contact Form 7 stores no message history on its own, so add a storage plugin such as Flamingo. Check for do_not_store: true, which tells the storage plugin to skip entries.

change admin email wordpress setting up email in wordpress test wordpress form email after submit wordpress administration email address wordpress contact form not sending email wordpress form not sending email wordpress not sending emails wp mail smtp after form submission