WordPress Not Sending Emails: Fix Contact Form and Password Reset Emails
Emails from your site never arrive. Switch from the default PHP mail to authenticated SMTP, and set SPF and DKIM for your domain.
By default WordPress sends mail through the server's basic PHP mail function. Many hosts restrict it, and big mailbox providers such as Gmail often reject or hide mail sent this way. The fix is to send through a real mailbox using SMTP.
Step 1: Use an SMTP plugin

Install a trusted SMTP plugin, for example WP Mail SMTP or FluentSMTP, and connect it to a real mail account:
- Your own domain mailbox (for example
hello@yourdomain.com) from your host. - Or a mail service such as Google Workspace, Brevo or SendGrid.
Use the SMTP host, port and login your mail provider gives you, normally port 587 with TLS or 465 with SSL.
Step 2: Use a matching "From" address

Set the "From" address to an address on your own domain, such as hello@yourdomain.com. Sending as a Gmail or Yahoo address from your server causes rejections.
Step 3: Add SPF and DKIM records

These DNS records prove your server may send for your domain. Your mail provider shows the exact records to add. Our spam guide explains them.
Step 4: Send a test and read the error

Most SMTP plugins have a test email button and a log. A "could not authenticate" message means the login is wrong. A "connection timed out" message can mean the host blocks that port, so try the other port.
Step 5: Check the form plugin

Open the form plugin's mail settings. The "To" address should be correct, and the "From" address should match your domain.
Still failing?
Ask your host whether outgoing SMTP ports are blocked on your plan.
Related guides
- WooCommerce Password Reset Emails Not Arriving
- WooCommerce Order Emails Not Sending or Going to Spam
- WooCommerce Admin New Order Email or Notification Not Arriving
- Outlook 'Cannot Send Message' on Mobile Hotspot or Public Wi-Fi: Port Blocks