Black FridayCyber Monday 2026
14Days
15Hrs
34Mins
40Secs
Flat20% OFF

Our biggest sale of the year20% off the first payment on all maintenance plans. Code BF2026

Grab the deal
WordPress

Contact Form 7 Not Sending Email? Sender, SMTP, SPF and Spam Fixes

When Contact Form 7 says it sent a message but nothing arrives, the cause is usually the sender address, mail transport or filtering. Test them in order.

wpallsolution Updated 8 min read

Contact Form 7 not sending email is one of the most common WordPress form problems, and one of the most confusing, because the form often says the message was sent while nothing reaches your inbox. The email can fail at several separate points: the form, the sender address, the way WordPress hands the message to a mail server, the domain’s authentication records, or a spam filter. This guide shows how to test each point in order, one change at a time.

Quick answer

Start with the sender: in the form’s Mail tab, the From address should belong to your own domain, and the visitor’s address should go into Reply-To. Then check how the site sends mail: plain PHP mail is the least reliable choice, and sending through authenticated SMTP is usually safer. Finally, check your domain’s SPF and DKIM records and look in spam. Test after every change.

How this guide was prepared: it is research-based. We read the Contact Form 7 plugin source (version 6.2.2, which runs on our own website) and the standards linked under Sources, checked on October 23, 2026. The Contact Form 7 documentation site blocked our automated access, so we did not rely on it. We did not test your hosting or mail setup.

How Contact Form 7 sends a message

When someone submits the form, Contact Form 7 checks the fields, runs spam checks, and then asks WordPress to send the email. If WordPress reports success, the form shows the “sent” message. If sending fails, it shows the failure message and triggers a hook named wpcf7_mail_failed for developers. “WordPress reported success” does not mean the message reached an inbox. After that point, your host’s mail system and the receiving mail provider decide what happens.

One detail in the plugin’s source is worth knowing: by default, the message shown when sending fails and the message shown when a submission is treated as spam are the same sentence: “There was an error trying to send your message. Please try again later.” So the text alone cannot tell you whether the problem is delivery or spam filtering. The plugin’s default stylesheet does mark them differently: the response box gets a red border when sending failed or was aborted, and an orange border when the submission was treated as spam. If your theme restyles that box, open the browser inspector and look at the form’s status class (failed or spam). You can also change either message in the form’s Messages tab to tell them apart while you test.

The decision tree: where did the email stop?

Flowchart for Contact Form 7 not sending email: five questions about the form message, sender address, SMTP, SPF and DKIM, and spam filtering
Five questions show where your Contact Form 7 email stops.
  1. Form shows an error after submitting? Read what the message can and cannot tell you (Step 1).
  2. From address not on your domain? Change it and use Reply-To for the visitor (Step 2).
  3. Site uses plain PHP mail? Send through authenticated SMTP (Step 3).
  4. Mail missing or in spam? Check SPF and DKIM (Step 4).
  5. Failures only some of the time? Check spam filtering and logs (Step 5).

Symptoms and likely causes

What you seeLikely causeStart with
Form says sent, nothing arrivesDelivery or filtering after WordPress handed the mail overSteps 2 to 4
Form shows the error message every timeMail could not be sent, or every submission is treated as spamSteps 1 and 3
Mail arrives in spamMissing or wrong SPF or DKIM, or a sender that does not match your domainSteps 2 and 4
Works for some visitors, not othersSpam protection or the visitor’s address in the From fieldSteps 2 and 5

5 steps to fix Contact Form 7 not sending email

Step 1: Read what the form message can tell you

Submit the form once and note the exact message. Success means WordPress accepted the email, so look at delivery (Steps 2 to 4). The failure message means either a send failure or a spam decision, because they share one default sentence. Check the colour of the response box (red for a send failure, orange for spam, in the default styling), or open the form’s Messages tab and give “Sender’s message failed to send” and “Submission was referred to as spam” different texts so you can see which one appears. Also check the form’s Mail tab for warnings: Contact Form 7 has a configuration validator that flags problems with mail settings.

Step 2: Use a sender address on your own domain

In the Mail tab, the From field should be an address at your own domain, such as wordpress@yourdomain.com or support@yourdomain.com. The plugin’s own validator shows the warning “Sender email address does not belong to the site domain.” when it is not. A visitor’s address in the From field looks like forged mail to many mail systems, which is a common cause of spam folder delivery. Put the visitor’s address in Additional headers as Reply-To: [your-email] instead, so you can still reply directly. Mail that comes from a mailbox that does not exist can also be rejected, so use a real address.

Step 3: Send through authenticated SMTP

By default WordPress uses the server’s PHP mail function, which many hosts limit and which often arrives without proper authentication. A mail plugin or your host’s mail service can send through SMTP with a username and password for a real mailbox. After you connect it, Contact Form 7 uses it automatically, because it sends through WordPress. Use the host or provider’s settings for the server name, port and security type, and keep the password out of chat and email. Send a test message from the mail plugin before you test the form.

Step 4: Check SPF and DKIM for your domain

Receivers decide whether to trust a message partly by checking that your domain authorised the server that sent it. In short, SPF lists the servers allowed to send for your domain, DKIM signs each message so the receiver can verify it, and DMARC says what to do when those checks fail. If you send through your host or an email provider, they usually show the exact DNS records to add. Add or correct them, wait for DNS to update, and test again. Our guide to WordPress emails going to spam explains all three records and the order to set them up, and the WooCommerce emails guide covers the same delivery ideas for orders.

Step 5: Check spam protection and logs

If your form uses spam protection such as Turnstile, reCAPTCHA or Akismet, an invalid key or a failed check can make Contact Form 7 treat valid submissions as spam. Look at the protection settings and, if you have an email log or a form entries plugin, compare what was submitted with what was sent. If a plugin or caching layer is interfering with the form’s request, test with other plugins paused on a staging copy; see how to find the plugin that broke your site. For a similar issue in a page builder form, read Elementor forms not sending emails.

Version and hosting differences

  • Some hosts block or rate limit outgoing PHP mail, so an SMTP service may be the only reliable route.
  • The mail settings and messages described here are from Contact Form 7 6.2.2; older versions may word things differently.
  • A caching or security plugin can interfere with the form’s submission request, so test with them in a controlled way.

How to verify the fix

  • A test submission arrives in your inbox within a few minutes, and not in spam.
  • The Reply-To address is the visitor, and the From address is on your domain.
  • The form shows the success message, and a deliberate failure shows the failure message.
  • You tested from a different device and a different email address.

How to prevent it from happening again

  • Test your forms after every plugin, theme or hosting change.
  • Keep a copy of submissions in your dashboard, so an email problem does not lose a lead.
  • Keep SPF and DKIM records up to date when you change email providers.
  • Include form tests in your routine; see what WordPress maintenance includes.

Frequently asked questions

Why does the form say it sent, but I get nothing?

The message was accepted by WordPress, but your host or the receiving provider may have rejected, delayed or filtered it. Check the sender, SMTP and SPF and DKIM.

Can I use the visitor’s email as the From address?

It is better not to. Put your own domain address in From and the visitor’s address in Reply-To.

Do I need an SMTP plugin?

Not always, but plain PHP mail is the least reliable route, so authenticated SMTP is the usual fix when mail goes missing.

Why do the failure and spam messages look the same?

In the plugin’s default messages they share one sentence. Change one of them while you test.

Related guide: Stop WordPress Form Spam: Honeypot vs Turnstile vs reCAPTCHA

What to do next

Fix the sender, send through SMTP, check SPF and DKIM, then review spam protection, testing after each change. If it still fails or you would rather not edit DNS yourself, wpallsolution offers plugin support and WordPress maintenance packages. We cannot promise a result without seeing your hosting setup.

Sources and official documentation

Keep reading

More guides

Need a hand with this?

Tell us what is happening. We reply with honest next steps.

Talk to us