JTH Problem Solvers

Answers

Contact Form 7 not sending email: how do I fix it?

Short answer: Most of the time Contact Form 7 hands your message to the server's PHP mail and it never arrives, because the From address isn't on your domain or the mail isn't authenticated. Set From to an address on your site's domain, put the visitor in Reply-To, send through an SMTP plugin, and add SPF, DKIM and DMARC records.

Step 1: Check the Mail tab

In Contact → your form → Mail, set From to something like Your Site <forms@yourdomain.com>. Contact Form 7's own best-practice page says to use an address on the same domain as the site. Add Reply-To: [your-email] under Additional headers so replies go to the visitor.

Step 2: Send through SMTP

Install one SMTP plugin (WP Mail SMTP, FluentSMTP or Post SMTP) and connect it to your mailbox or a sending service on your domain. Use the plugin's test email, then submit the form again. Only keep one mail plugin active.

Step 3: Authenticate your domain

Add exactly one SPF record, turn on DKIM at your mail provider, and add a DMARC record (start with p=none). Google's sender guidelines require SPF or DKIM for all senders.

If it says "There was an error trying to send your message"

That means the server's mail function reported failure. An SMTP plugin is the usual fix. If the SMTP test also fails with a timeout, your host may block SMTP ports. Use the plugin's API-based mailer instead.

Check your domain in seconds: the free form email DNS check reads your SPF, DKIM and DMARC. Need every click? The WordPress Forms That Email Guide ($19), or the free 2-page checklist.

Related questions

Why do CF7 emails go to spam?

Usually a From address that isn't on your domain, or missing DKIM/DMARC. Fix From, then authenticate the domain.

Does Contact Form 7 save submissions?

Not by default; it sends email only. That's why delivery problems mean lost messages.

Is this affiliated with Contact Form 7?

No. Independent answer by JTH Problem Solvers.

Updated December 5, 2026. Independent answer by JTH Problem Solvers.