Website contact forms not sending email

contact form, wordpress, email, wp_mail, smtp, notifications · 0 found this helpful

When a contact form says "message sent" but nothing arrives, the mail is usually blocked or filtered, not lost by the form. This checklist walks through the common causes in order.

Quick check

  1. Check the spam folder of the receiving mailbox.
  2. Send a normal email to the same address from another account. If that fails too, the mailbox is the problem. See Can't receive email.
  3. Check the form's "send to" address for typos.

Why website mail fails

Cause What happens
Wrong From address The form uses [email protected] or the visitor's address, which fails SPF or DMARC
Recipient on another provider Gmail or Microsoft rejects mail that fails authentication
PHP mail has no authentication Mail is unsigned and looks like spam
Mailbox full Mail bounces. See Mailbox quotas.
Sending limits reached See Sending limits
Plugin misconfigured The plugin sends nothing
SPF or DKIM missing See Set up SPF, DKIM, and DMARC

Fix 1: Use a From address on your domain

Set the form's From to an address on your domain, such as [email protected]. Put the visitor's address in Reply-To. Do not set From to the visitor's address. That is spoofing, and receivers reject it.

Fix 2: Send through SMTP

Let the site log in to a real mailbox. This signs the mail and satisfies SPF and DKIM.

Setting Value
Host mail.example.ca
Port 465
Security SSL/TLS
Username [email protected]
Password The mailbox password

Fix 3: Check authentication

Run Account → Hosting → your site → Email → Deliverability and fix any problems. See Deliverability.

Fix 4: Trace the message

  1. Open Account → Hosting → your site → Email and find Track delivery.
  2. Search for the destination address.
  3. If you see Failed, read the reason. See Read a bounce message.
  4. If nothing shows, the site never handed the message to the mail server. Check the plugin settings and your site's error log. See Read your site's error log.

Track Delivery lists mail your website sends as well as mail from your mailboxes.

Fix 5: Test from the site

Many form and SMTP plugins have a Send test email button. Send one to your own address and to a Gmail address.

Common specific problems

Problem Fix
Only some forms fail A plugin has its own From setting
Works for one address, fails for another The failing recipient's provider is stricter. Add SMTP and DKIM.
Message lands in spam Review content and authentication. See Why your email lands in spam.
"Could not instantiate mail function" PHP mail is disabled or failing. Use SMTP.
WooCommerce order mail missing Same fixes. See WooCommerce tips.

If it is still stuck

Open a support request with the form URL, the destination address, the time of a test, and any error. See What to include when you ask for help.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.