Support » Fixing WordPress » [Plugin: Contact Form 7] email reply address

  • Hi,

    when I receive an email via the form, the ‘from field’ is showing the email address as whatever the user entered, however if I try to reply using the reply button in my mail client I realise that the email address associated is always “wordpress@’” is there a way to fix this to make replying to emails easier?



Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,
    I’m having the very same problem.

    Anybody can help us?



    Maybe its a problem with the email client?

    Ive just used Outlook to test and it worked fine for me



    A client of mine had the same problem. It’s a problem that some hosts have with php mailing. I’ve been changing this line of code in the plugin’s wp-contact-form-7.php file…

    $mail_headers = "From: $mail_sender\n";

    to the following line of code:

    $mail_headers = "From: $mail_sender\nReply-to: $mail_sender\n";

    This is line number 289 in the current release.

    Your mail client may not use the reply-to header tag by default, but you’ll at least be able to see the address of your contacter if your mail client allows you to see the reply-to header, or the raw headers (like gmail).

    Would be nice if we had this change included into the plugin so I don’t have to keep manually editing the file on updates 😉

    Great job on the plugin btw. <3 jQuery.

    Thanks junsuijin.

    That’s the problem!

    in the version i was using ( that line is in includes/mail.php at around line 30.

    not checked version 2 yet. hopefully it’s fixed :o)

    I can not find this code in the current version (2.0.5).. I would really like to change the “reply to” address when i try and reply to the messages i get from the form.



    A workaround is to place the name and email tags into the body of the message


    From: [your-name] <[your-email]>

    At least then you can at least copy and paste them.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Contact Form 7] email reply address’ is closed to new replies.