• Hello. A client has a contact form that sends every data correctly. The problem is that when they do a reply, the “to:” shows two emails, like so:

    to: reply@email.com, contact@company.com

    The second address doesnt exist in the list of emails of the company. They created the form with Contact Form 7.

    The form code is:

    [text code id:code readonly]
    [number* quantity placeholder “Quantity”]
    [text* name placeholder “Name”]
    [email* email placeholder “Email”]
    [text* telehon placeholder “Telephon”]
    [textarea coments x3 placeholder “Coments (optional)”]
    [submit “Send”][dynamichidden post_title id:post_title “CF7_get_post_var key=’title'”][dynamichidden post_code id:post_code “CF7_get_post_var key=’product-code'”]

    The email is set like this:

    To: seller@company.com
    From: seller@company.com
    Subject: [name] – New Request
    Additional headers: Reply-To: [email]
    Mesage Body:

    Product: [code]
    Quantity: [quantity]

    Client Data:

    Name: [name]
    Email: [email]
    Telephon: [telephone]
    Coments: [coments]

    They also used Contact Form 7 - Dynamic Text Extension, and there is a warning: There is a new version of Contact Form 7 - Dynamic Text Extension available, but it does not work with your version of PHP.

    Anyone have had this problem and solved it?

    Thanks

    • This topic was modified 1 year, 4 months ago by Sergio Urra.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I recommend asking at https://wordpress.org/support/plugin/contact-form-7/#new-post so the plugin’s developers and support community can help you with this.

    Thread Starter Sergio Urra

    (@sergiourra)

    Thank you Steven.

    It looks like the issue might be caused by the Reply-To header in the email. By default, Contact Form 7 sets the Reply-To header to the email address entered by the user in the form field with the name “email”. However, it’s possible that there is some conflict or issue with the Dynamic Text Extension that is causing it to add an additional email address to the Reply-To header.

    To fix this issue, you can try removing the Reply-To header from the Contact Form 7 email settings, and instead setting the “From” address to the user’s email address. Here’s how you can modify the email settings:

    1. Open the Contact Form 7 form in the WordPress dashboard.
    2. Click on the “Mail” tab.
    3. In the “To” field, make sure the email address is set to “seller@company.com“.
    4. Remove the “Reply-To” field entirely.
    5. In the “From” field, enter the following code: [email].
    6. Modify the “Subject” and “Message Body” fields as needed.
    7. Save the form.

    This should set the “From” address to the user’s email address, and remove the Reply-To header, which should prevent the additional email address from showing up in the reply.

    If this doesn’t work, you can try disabling the Dynamic Text Extension temporarily to see if it resolves the issue. If it does, you may need to update the extension or contact the plugin developer for support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ghost email in “to:” Field – Using Contact Form 7’ is closed to new replies.