Symptoms: contact-form messages, order e-mails or password-reset mails from your WordPress site never arrive, or land in spam.
Likely causes
- WordPress sends with the server's plain mail function (PHP
mail()), which many hosts limit or block, and which receivers do not trust. - No SMTP set up, so the message has no proper sign-in or sender.
- SPF or DKIM is missing or wrong for the domain you send from, so receivers reject or hide the mail.
The fix: send through an SMTP service
- Install an SMTP plugin such as WP Mail SMTP.
- Choose a sending service. SendGrid, Mailgun or Gmail / Google Workspace SMTP all work. Your own mail server also works.
- Enter the service's details in the plugin (it tells you which), and use a From address on your own domain.
- Send the plugin's test e-mail to an address you can check.
Make the domain trusted: SPF
SPF lists who may send for your domain. Add the sending service to the existing SPF record. For example, for SendGrid:
v=spf1 include:sendgrid.net -all
If your domain already has an SPF record, add the include: to it (a domain may have only one SPF record). A domain that also sends from Google or Microsoft would look like v=spf1 include:_spf.google.com include:sendgrid.net -all.
Sign the mail: DKIM
Enable DKIM in the sending service. It gives you one or more DNS records, which you add at your DNS host. Wait until the service shows the domain as verified.
Then check DMARC
A DMARC record such as v=DMARC1; p=none; rua=mailto:you@example.com lets receivers send you reports. Start with p=none and tighten it later.
Still no mail?
- Look in the spam folder of the receiver.
- Look at the plugin's e-mail log for errors.
- Check that your host does not block outgoing SMTP ports (587 and 465).
Open a ticket with your domain and the plugin's error text if you want us to check.