WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] email reply address (7 posts)

  1. joelcoleman
    Member
    Posted 5 years ago #

    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@'myblog.com" is there a way to fix this to make replying to emails easier?

    thanks

    Joel.

  2. beatus
    Member
    Posted 5 years ago #

    Hi,
    I'm having the very same problem.

    Anybody can help us?

    Thanks

    Beatus

  3. mikem1986
    Member
    Posted 5 years ago #

    Maybe its a problem with the email client?

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

  4. ty
    Member
    Posted 5 years ago #

    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.
    peace~

  5. polar_action
    Member
    Posted 4 years ago #

    Thanks junsuijin.

    That's the problem!

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

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

  6. OzarkChronicles
    Member
    Posted 4 years ago #

    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.

  7. circuit
    Member
    Posted 4 years ago #

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

    E.g.

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

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

Topic Closed

This topic has been closed to new replies.

About this Topic