Troubleshooting WordPress contact forms

Emails sent out by contact forms should be sent 'from' the website with a from email address such as <>.

WordPress should never use the customer's email address entered into the form as the 'from' address.

Since your website is sending the emails, the 'from' address should only be one you control and matches the domain of the website. The email address the site visitor enters in the contact form can be put in the Reply-To header, so when you click reply on the email it goes to them. This is related to a mail policy change DreamHost announced in April 2012. More details are also listed here:

This is an example of a smart way to send out emails from a contact form:

From: Site Visitor <>
Reply-To: Site Visitor <>
To: Admin <>
Subject: Contact Form Submission

Contact Form 7

Contact Form 7 is a contact form plugin that lets you completely control the emails it sends, directly from within the WordPress admin panel. You can use it to send emails with the name of the site visitor and a site admin's email address.

To set up Contact Form 7:

  1. Log into your WordPress site at
  2. In the left column, click the ‘Plugins’ category.
  3. Find your ‘Contact Form 7’ plugin in the list.
    03 WordPress Troubleshooting.fw.png
  4. Click the ‘Settings’ link.
    04 WordPress Troubleshooting.fw.png
  5. Find the specific contact form you wish to edit, and then click its ‘Edit’ link.
    05 WordPress Troubleshooting.fw.png
  6. Click the ‘Mail’ tab at the top.
  7. Adjust your ‘From’ and ‘Additional Headers’ fields as shown above.

View the following articles for further information:

Jetpack contact form

Jetpack's contact form does not have an option to easily adjust the from address for sending mail. You can manually hack the PHP code of Jetpack to adjust that, but any modifications to the code of Jetpack run the risk of being overwritten whenever Jetpack updates. Also, Jetpack's contact form shortcodes can interfere with other contact forms.

By default, Jetpack’s contact form is not enabled. However, if you’ve enabled it in the past, you can disable the Jetpack contact form in order to use all the other cool Jetpack features while using a different plugin's contact form.

  1. In the WordPress admin panel, open the Jetpack plugin settings.
    06 WordPress Troubleshooting.fw.png
  2. Hover over the ‘Contact Form’ option, and then click the ‘Deactivate’ link on the right.


WPForms-lite allows you to change the 'From' and 'Reply-To' in its settings.

  1. In the WordPress dashboard, click the 'WPForms' menu item in the left panel.
  2. Hover over your form name. A few options appear below it. Click 'Edit'. This loads your form.
  3. In the left menu choose 'Settings'.
  4. In the pop-out window choose 'Notifications'.
    06 WPForms-lite.png
  5. Your form notifications settings open. Scroll down to the 'From Email' and 'Reply-To' email fields and update as necessary.

See also

Did this article answer your questions?

Article last updated .