Blog › Contact Form 7

Contact Form 7 says 'sent' but nothing arrives

CF7 reports success when wp_mail returns true. Here is what that does and does not mean.

· 3 min read · The FormVigilant team

Contact Form 7 shows "Thank you for your message. It has been sent." after a submission. Clients reasonably read that as "the email arrived". It means something much narrower, and understanding exactly what is the key to fixing CF7 delivery problems.

What "sent" means

When a visitor submits, CF7 validates the fields, checks for spam, builds the email from the Mail tab template and calls WordPress's wp_mail() function. If wp_mail() returns true, CF7 shows the success message. If it returns false, CF7 shows "There was an error trying to send your message. Please try again later."

wp_mail() returning true means WordPress handed the message to whatever mailer is configured, without an immediate error. It does not mean:

  • the provider accepted it (some SMTP plugins queue messages and report failures later);
  • the provider delivered it (suppression lists and bounces happen after acceptance);
  • the recipient's server accepted it (unauthenticated mail is often rejected or junked);
  • anyone saw it.

So a CF7 success message rules out problems in the form itself and leaves everything downstream open.

CF7 keeps no copy

Unlike most form plugins, Contact Form 7 stores nothing. If the email is lost, the enquiry is gone. Install Flamingo, made by the same author, to keep a copy of every inbound message in wp-admin. It is the single most useful change you can make on a CF7 site: it turns "we might have lost leads" into "here are the leads, the email just did not arrive", and gives you a record to compare against.

Check the Mail tab

Open the form and the Mail tab:

  • To: is the recipient still correct? The default is the site admin email, frequently a developer's address.
  • From: the default uses the site name and the WordPress admin email. CF7's configuration validator warns when the sender address does not belong to the site's domain, because receiving servers may reject it. Use an address on the domain, such as website@clientdomain.com.
  • Additional headers: put Reply-To: [your-email] here so replies go to the visitor without breaking authentication.
  • Mail (2) is an optional second email, usually an autoresponder to the visitor. Problems with it do not affect Mail (1).

Look for skip_mail and demo_mode

The Additional Settings tab can contain skip_mail: on or demo_mode: on. Both make CF7 skip sending mail while still showing a success message. They are sometimes added during development or by a plugin that handles submissions differently, and then forgotten. If either is present and the client expects email, remove it.

Check what happens after wp_mail

If the form and Mail tab are fine, the problem is in the mail pipeline:

  1. No SMTP plugin? WordPress falls back to PHP mail() through the host. On many hosts this is restricted, and the result is unauthenticated mail that Gmail and Microsoft treat with suspicion. Install an SMTP plugin connected to a transactional provider.
  2. SMTP plugin present? Read its email log or debug events for the time of the submission. An authentication error means credentials changed.
  3. Provider accepted it? Search the provider's activity for the recipient. A suppressed or bounced status explains a message that never arrived.
  4. Provider delivered it? Then it is the recipient's filter. Check spam and quarantine, and confirm SPF, DKIM and DMARC for the sending domain.

Spam protection that drops real messages

CF7 integrates with reCAPTCHA v3 and Akismet. When either flags a submission as spam, CF7 does not send the email and shows a spam message instead. A reCAPTCHA key from a deleted Google Cloud project, or an aggressive Akismet result, can block legitimate visitors. If you see reports of "there was an error" or spam messages from real people, check the reCAPTCHA integration under Contact › Integration and test from a normal browser.

How FormVigilant tests CF7

FormVigilant's Contact Form 7 support submits a labelled test through CF7's own submission processing inside WordPress, so the real Mail tab template is used. It checks skip_mail and demo_mode on discovery, records the wp_mail result and the SMTP provider's response, and then waits for the message at an independent mailbox. With Flamingo installed, it also confirms the inbound message was stored. Mail (2) is not sent for tests by default, and integrations attached to CF7's submit hooks are switched off for the test request.

The result is a level, not just "sent": a CF7 form that passes at L4 has been proven to deliver to the outside world, which is the thing the success message never told you.

Find out which of your clients' forms are delivering today.