Not Receiving Form Emails in WordPress? Here’s the Fix.
One of the most common issues after a website launch is form submissions that never arrive. The form shows a success message, the entry may even be saved in WordPress, but the notification email never reaches the inbox. That’s why we set up authenticated email sending as a standard step on every launch.
Why WordPress form emails don’t arrive
By default, WordPress sends email through the wp_mail() function, which hands messages to the web server’s PHP mail setup. That worked reasonably well years ago. Today it fails often, for three reasons:
- The server isn’t authorized to send for your domain. Gmail, Outlook and other inbox providers check whether the server sending a message is allowed to send for the domain in the from address. A web server usually isn’t, so messages are marked as spam or rejected.
- Inbox providers require authentication. Since February 2024, Google and Yahoo have required all senders to authenticate mail with SPF or DKIM, and bulk senders to use both plus a DMARC policy. Unauthenticated mail from any source is increasingly filtered.
- Hosts limit outgoing mail. Many managed hosts restrict or disable PHP mail to protect their server reputation, and shared servers can inherit a poor reputation from other sites on the same IP address.
The fix: send through an authenticated email service
The reliable solution is to stop sending from the web server and route WordPress email through a service built for it, using an SMTP plugin.
1. Choose a sending service
For website notifications, a transactional email service is the best fit. These services are designed for automated messages and provide delivery logs and bounce handling:
- Postmark, focused on transactional email with strong deliverability.
- SendGrid, Mailgun and Brevo, widely used services with free or low-volume tiers.
- Amazon SES, very low cost at volume, with more setup.
If your organization already uses Google Workspace or Microsoft 365, those can also send website email through the plugin’s built-in connection. For low-volume contact forms that works, but a transactional service is usually more robust and keeps website mail separate from staff mailboxes.
Don’t route site email through a personal Gmail or Outlook account. Those accounts aren’t meant for application sending, they’re tied to an individual who may leave, and messages sent that way can’t be properly authenticated for your domain.
2. Install and configure an SMTP plugin
WP Mail SMTP is the most widely used option and has built-in connections for Postmark, SendGrid, Mailgun, Amazon SES, Brevo, Google Workspace and Microsoft 365. Other well-maintained options include FluentSMTP and Post SMTP. In the plugin settings:
- Choose your sending service and connect it with an API key or the provider’s sign-in flow rather than a mailbox password where possible.
- Store API keys in
wp-config.phpconstants instead of the database if the plugin supports it, so they aren’t exposed in database exports. - Set the from email and from name, and force them so individual plugins can’t override them.
3. Use a from address on your own domain
The from address should be on a domain you control and have authenticated, such as website@yourdomain.com. Never use the visitor’s email address as the from address on form notifications. It fails authentication because your server isn’t allowed to send for their domain. Put the visitor’s address in the reply-to field instead, which most form plugins, including Gravity Forms, WPForms and Contact Form 7, support.
If you send from a subdomain, such as mail.yourdomain.com, that’s fine, as long as SPF and DKIM are set up for it and it aligns with the domain in your from address.
4. Publish SPF, DKIM and DMARC records
These three DNS records tell inbox providers which services are allowed to send for your domain. Your sending service provides the exact values to add.
- SPF lists the servers allowed to send mail for your domain. A domain can have only one SPF record, so if you already have one for your office email, add the new service’s
include:to it rather than creating a second record. For example:v=spf1 include:_spf.google.com include:mailgun.org ~all. - DKIM adds a cryptographic signature to each message. You publish a public key, usually as a CNAME or TXT record your provider gives you, and the provider signs outgoing mail with the matching private key.
- DMARC tells receivers what to do when a message fails SPF and DKIM alignment, and where to send reports. Start in monitoring mode, then tighten the policy once reports show all legitimate mail passing:
v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com.
For DMARC to pass, at least one of SPF or DKIM must pass and align with the domain in the from address. Using a from address on the same domain you authenticated with your sending service is what makes that work.
5. Turn on logging and test
- Send a test email from the SMTP plugin’s settings to an address at a different provider, such as a Gmail address if your domain uses Microsoft 365.
- Check the message headers. In Gmail, use “Show original” and confirm SPF, DKIM and DMARC all show PASS.
- Submit every form on the site and confirm each notification arrives, with the correct recipients and a working reply-to address.
- Enable email logging in the SMTP plugin or use the sending service’s activity log, so you can see whether a missing message was never sent, bounced or was delivered and filtered by the recipient.
- Keep form entries in the database as a backup. Most form plugins can store submissions, so a lead is never lost even if an email is.
Still not arriving?
- Check the sending service’s dashboard for bounces or suppressions. A recipient address that bounced once may be on a suppression list.
- Confirm the form plugin’s notification is enabled and sending to the right address. It’s easy to leave a staging address in place at launch.
- Look for a second plugin that also overrides
wp_mail(). Two mail plugins can conflict. - Check the recipient’s spam folder and quarantine. Corporate mail filters sometimes need the sending domain added to an allow list.
Need help?
Setting up authenticated sending touches DNS, the sending service and WordPress, and it’s easy to miss one piece. We configure it as part of every launch and can fix it on existing sites through our WordPress maintenance and hourly development support plans. Get a proposal.
Get started now
Start with a risk-free, no obligation proposal delivered to your inbox in one business day or less.
Get Started- 5-Star Rated Technical Partner
- 100% White-Label - Sign our NDA
- 90-Day Code Guarantee