For Contact Form 7 mail settings, use a sender address on your website’s domain in From, your business inbox in To, and the visitor’s email mail-tag in a Reply-To header. These fields serve different purposes. Separating them helps your team reply to enquiries without making the website pretend to send mail from a visitor’s Gmail or Yahoo account.
What From, To and Reply-To mean
To is the destination for the enquiry notification. From identifies the sender of that notification. Reply-To tells your mail app where a reply should go. The sender can be your website while the reply destination is the person who filled in the form.
Imagine a visitor sends a quote request. Your sales team should receive it in the sales inbox, recognize that it came through the website and reply directly to the visitor. Those are three separate requirements. Writing them down first makes it easier to choose values for the Mail tab instead of trying random combinations until a warning disappears.
1. Check your actual form field names
Open Contact → Contact Forms in the WordPress dashboard, edit the relevant form and inspect its Form tab. Find the email field and record its name. A mail-tag must match a field that exists in that form. If your email field is named enquiry-email, its corresponding mail-tag is [enquiry-email]. Do not copy a tag from another tutorial without matching it to your own form.
For the examples below, assume your form uses a required email field named enquiry-email. Replace example.com and all mailbox names with your own verified details. These sample addresses are placeholders and should not be left in a production form.
2. Configure the primary Mail template
In the Mail tab, set To to the inbox monitored by your team, such as sales@example.com. Set From to a real sender address using the website’s domain, such as Website Enquiries <forms@example.com>. Contact Form 7 expects the sender domain to match the site domain; your delivery provider may also require sender verification.
In Additional headers, add this single line for the assumed field: Reply-To: [enquiry-email]. The visitor’s address belongs here rather than replacing the site’s From address. Keep additional headers on separate lines, and check any configuration notices after saving.
Use a useful subject and a readable message body. For example, the body can identify that this is a website enquiry, show the visitor’s email and include the message they submitted. Include only tags that your form actually provides. Avoid relying on an optional field as the sole subject or message because a visitor can leave it blank.
3. Check the mailbox and sending service
A correctly filled Mail tab does not create a mailbox or configure your server’s delivery service. Confirm that the sender exists where required by your host and that the sending service authorizes it. WordPress uses wp_mail(), and a successful handoff from that function does not prove the message reached the recipient’s inbox.
If mail fails across the whole website, investigate the delivery layer separately. Depending on hosting, you may need an authenticated SMTP or API mailer configured with your provider’s documented settings. Use one clearly configured sending route and test it before changing several unrelated plugins. Our WordPress not sending emails guide covers the broader troubleshooting process.
4. Review domain authentication
Ask the email provider for its exact SPF and DKIM setup instructions and complete any required domain verification. Do not copy another website’s DNS values. Authentication supports legitimate sending, but it is not an inbox-placement guarantee. A form warning and a spam-folder delivery are different observations and should be recorded separately.
5. Test a complete enquiry and reply
Submit the public form with a unique subject and a mailbox you control. Check the confirmation message, the receiving inbox and its spam folder. Open the received notification and click Reply. Confirm that the reply targets your test visitor address rather than the website sender. Then send that reply and check the visitor inbox.
Keep a small test record: form page, submission time, recipient mailbox, delivery result and reply destination. If the problem is intermittent, this gives the host or mail provider something concrete to investigate. Remove unnecessary test messages from shared inboxes once the test is complete.
What about Mail (2)?
Mail (2) is a separate template often used for an acknowledgement to the visitor. It runs only after the primary Mail is sent successfully. Configure its sender and recipient deliberately; do not assume it inherits the correct values. Test the business notification and the visitor acknowledgement as two separate messages.
Frequently asked questions
Can I use the visitor’s email in From? Use a site-domain sender and put the visitor’s validated email mail-tag in Reply-To instead.
Does a successful form message prove inbox delivery? No. Verify receipt and the reply journey with a real end-to-end test.
Official references
Contact Form 7 mail fields · Mail setup best practices · WordPress mail administration · wp_mail reference
