Why is my contact form not sending emails? Print

  • 0

Forms usually fail because PHP mail() is unreliable or messages land in spam. The fix is almost always to send through authenticated SMTP.

  1. Create a real mailbox in cPanel Email Accounts, then configure your form/plugin (e.g. WP Mail SMTP) to send via mail.yourdomain.com, port 465 SSL, with that account's username and password.
  2. Set the From address to an address on your own domain — sending as Gmail/Yahoo will be rejected by SPF.
  3. Check spam/junk folders and any spam filter on the receiving mailbox.
  4. Send a test from cPanel Webmail to confirm mail flow works at all.
  5. Review form-plugin logs for errors.

If authenticated SMTP still does not deliver, open a ticket with the error.


Was this answer helpful?

« Back