How to Set Up a Reply-To Email Address in Contact Form 7

To set up a Reply-To email address in Contact Form 7, add a Reply-To line to the Additional Headers field in your form’s Mail tab. This lets you hit Reply in your inbox and respond straight to the person who filled out the form, instead of replying to your own site address.

It’s a small change that fixes a common annoyance: by default, replies to a contact-form notification go nowhere useful. Here’s how to set it up correctly, plus why the From and Reply-To addresses should be different, and what to check when it isn’t working.

Add a Reply-To Header in the Mail Tab

Open your form in Contact > Contact Forms, click the form, and switch to the Mail tab. Near the bottom you’ll find the Additional Headers field. Add this line:

Reply-To: [your-name] <[your-email]>

The parts in square brackets are Contact Form 7 mail tags. [your-email] and [your-name] have to match the field names in your actual form. If your email field is named [email] instead, use that. You can see every available tag listed just above the Mail tab.

While you’re in the Mail tab, make sure the other core settings are correct:

  • To: a valid inbox you can actually check, like [email protected].
  • From: an address on your own domain, like [email protected]. Not the visitor’s address (more on why below).
  • Subject: something scannable in your inbox, like Your Site - [your-subject].

Save the form. From now on, when a notification lands in your inbox, clicking Reply will address the message to the visitor automatically.

Why the From Address Should Be Your Domain, Not the Visitor’s

This is the part most tutorials skip, and it’s the reason Reply-To exists in the first place.

It’s tempting to set the From address to the visitor’s email so replies just work. Don’t. Your server isn’t authorized to send mail on behalf of gmail.com or anyone else’s domain, so messages sent “from” a visitor’s address routinely fail SPF and DKIM checks and land in spam (or get rejected outright).

The correct setup splits the two jobs: the From address is one on your own domain (which passes authentication and lands in the inbox), and the Reply-To address is the visitor’s, so your reply goes to the right person. You get deliverability and one-click replies at the same time.

If Your Reply-To Isn’t Working

If replies still go to the wrong place, work through these in order:

  • The mail tag doesn’t match a field. If your form’s email field is [email] but your header says [your-email], the tag is empty and the header breaks. Match the tag to the exact field name.
  • Missing angle brackets. The email address in the Reply-To header should be wrapped in < >. Without them, some mail servers ignore the header.
  • An SMTP plugin is overriding it. If you use WP Mail SMTP or a similar plugin to improve deliverability, it can rewrite mail headers. Set the Reply-To inside the plugin, or confirm it’s configured to respect form headers.
  • Your host strips the header. Some hosts are picky. If nothing else works, add a Sender line alongside the Reply-To:
Sender: [email protected]
Reply-To: [your-name] <[your-email]>

If your contact-form emails fail to arrive at all (not just the Reply-To), the fix is usually an SMTP plugin. Sending through authenticated SMTP rather than the default PHP mail function is the single biggest deliverability upgrade for any WordPress site. See our best WordPress plugins roundup for the SMTP picks.

Alternative: Put the Email in the Message Body

If you’d rather not touch the headers, you can drop the submitted email into the message body as a clickable link. In the Message Body field on the Mail tab, add:

Reply to sender: <a href="mailto:[your-email]">[your-email]</a>

This gives you a one-click mailto link inside the notification. It’s a bit more manual than the Reply-To header (you click the link instead of hitting Reply), but it’s foolproof and works even when a host mangles headers.

Frequently Asked Questions

Where is the Additional Headers field in Contact Form 7?

Open Contact > Contact Forms, click your form, and select the Mail tab. The Additional Headers field is near the bottom, below the Message Body box. The Reply-To line goes there.

Why shouldn’t I just set the From address to the visitor’s email?

Because your server isn’t authorized to send mail for other people’s domains. A message sent “from” a visitor’s Gmail address fails SPF and DKIM checks and usually lands in spam or bounces. Send From your own domain and use Reply-To for the visitor’s address instead.

Can I set a Reply-To for the auto-reply email too?

Yes. Contact Form 7 has a second mail template called Mail (2), used for auto-replies to the visitor. It has its own Additional Headers field, so you can add a Reply-To pointing at your own support inbox there, so the visitor’s reply reaches you.

Do I need a plugin to add a Reply-To address?

No. The Reply-To header is built into Contact Form 7’s Mail tab, so no extra plugin is required. You may still want an SMTP plugin for general deliverability, but it isn’t needed just to set Reply-To.

Wrapping Up

Setting a Reply-To in Contact Form 7 is one line in the Additional Headers field, but pairing it with a proper From address on your own domain is what makes it reliable. Send From your domain for deliverability, set Reply-To to the visitor for one-click replies, and add a Sender header if your host needs it.

Now hitting Reply in your inbox responds directly to the person who reached out. No more copying and pasting addresses, and your notifications still send cleanly from your server.

Picture of Andy Feliciotti

Andy Feliciotti

Andy has been a full time WordPress developer for over 15 years. Through his years of experience has built 100s of sites and learned plenty of tricks along the way. Found this article helpful? Buy Me A Coffee

8 Responses

  1. I specialize in top-notch SEO, web design, Meta Ads, Google Ads, Performance Marketing, and Lead generation services for B2B and B2C clients to help your business stand out online. With a focus on results-driven strategies, I'm here to boost your visibility and create stunning websites that captivate your audience.

    Connect with me your go-to Digital Marketing Expert.

  2. Thanks for the clear instructions! Setting up a Reply-To email address in Contact Form 7 is essential for proper email communication. For those looking to implement this, just go to the ‘Mail’ tab of your form settings and add this line under ‘Additional Headers’

  3. Setting up a Reply-To email address in Contact Form 7 is a game-changer for seamless communication!

    The steps outlined here make it super easy to reply directly to users without the hassle of copying and pasting. Including Reply-To or Sender headers ensures smooth email delivery while improving user interaction. Great tip for optimizing contact form functionality!

  4. An effective contact form plays a crucial role in engaging website visitors. Contact Form 7 stands out as a top choice for building user-friendly and efficient forms. Appreciate this valuable article!

  5. Great article! Setting up a Reply-To header in Contact Form 7 is a simple yet crucial tweak to streamline email responses. Many users face the hassle of manually copying and pasting email addresses, and this guide effectively solves that issue.

  6. Great post! Really clear and well-explained. Setting up a reply-to email in Contact Form 7 can be confusing for many, but you've broken it down perfectly. Super useful for WordPress users!

  7. Super neat trick, makes the whole reply process way smoother! 🙌 Love how it keeps things efficient and user-friendly. Definitely bookmarking this one for future forms!

Leave a Reply

Your email address will not be published. Required fields are marked *

WordPress Tips Monthly
Get the latest from SmartWP to your inbox.