• Resolved eggrollstan

    (@eggrollstan)


    The “Reply-To Header” thread that was marked “solved” was not really clear if the issue was fixed.

    I have the reply-to in WP-SES settings set to “headers”, and have an Additional Headers in a contact form in Contact Form 7 set to “Reply-To: [your-name] <[your-email]>”

    Emails sent still do not send with the stipulated “Reply-To” header.

    https://www.ads-software.com/extend/plugins/wp-ses/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter eggrollstan

    (@eggrollstan)

    I’ve resolved this issue by modifying a line in the Contact Form Plugin. Since all emails sent through WP-SES will be sent from the specified email in the settings, I simply modified a line to specify the sender in the form as a “Reply-To”

    Hi,
    Can you explain step by step what line have you modified and where?

    Thanks.

    Thread Starter eggrollstan

    (@eggrollstan)

    My solution is specific to using Contact Form 7 and WP-SES.

    In the contact-form-7/includes/ folder, I modified line 551 of classes.php.

    Replaced
    $headers = “From: $sender\n”;

    with
    $headers = “Reply-To: $sender\n”;

    After this, all emails sent with Contact Form 7 will have the Reply-To set to the sender.

    Keep in mind that any updates to Contact Form 7 will overwrite this change.

    Thanks, but it’s not working for me. I have the Reply-To: [your-name] <[your-email]> as Additional Headers in contact form 7, Reply To set to headers in wp ses and I’ve modified 551 of classes.php, but when I want to Reply, it appears the same e-mail address ??

    Thread Starter eggrollstan

    (@eggrollstan)

    Odd….. I just tested the forms I had created and they work.

    I just created a new form and it does not work… will go back and check.

    Ok, thanks for your time, I appreciate. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Headers from Contact Form plugin’ is closed to new replies.