I recently ran into a problem where the WordPress plugin Contact Form 7 was not sending emails to the site administrator. After several hours of research, I figured out why.
The problem was that the From email address was using the email field from the form. Many email servers are configured so they won’t send an email from your website if the From address does not match your domain name.
For example, if I want Contact Form 7 to send me emails from the form submission on writenowdesign.com, then the From email address must end with writenowdesign.com: firstname.lastname@example.org.
The fix for this problem is fairly simple if your web server handles the email for the domain.
Note: If your email is handled by a separate email server, for example, an Exchange server, click here for instructions on how to fix a WordPress Contact Form not sending Email.
From the Contact Form 7 Mail section of the form, make the following changes:
- In the From field, use an email address that is the same as your domain name.
- In the Additional Headers field, enter the following code: Reply-to: <[email]>
Where is the email field.
Note: The additional headers are not required and the fields can be called whatever you like. The reason for the additional headers is so you can reply to the form submission email and have it automatically addressed to the email the user entered in the form email field.
Leave a Reply