WordPress.org

Ready to get started?Download WordPress

Forums

Easy WP SMTP
[resolved] Shouldn't always add Reply-To: header (5 posts)

  1. David Anderson
    Member
    Posted 1 year ago #

    Hi,

    This plugin is good, thank you. However, I have one problem with it.

    It always adds a Reply-To: header, to be the same as the From: header.

    However, this is sometimes wrong. For example, I use this plugin - http://wordpress.org/plugins/visual-form-builder/ - as a contact form. it adds a Reply-To: header so that the sender of the contact form can indicate their own address, and I can reply directly to them. Easy SMTP then adds a second Reply-To: header, and then unfortunately my email program uses the one added by Easy SMTP.

    Easy SMTP should either not add the Reply-To header at all, or it should check to see if one already has been added.

    David

    http://wordpress.org/plugins/easy-wp-smtp/

  2. francoboy7
    Member
    Posted 10 months ago #

    +1 Should not try to modify the headers !
    Same problems occurs with contact form 7 plugin.
    I specify specific header Reply-To and From and easy smtp change them.

    I commented line on the easy smtp core files, but a fix would be good !

  3. Zlatko M
    Member
    Posted 10 months ago #

    @francoboy7

    Can You please share which file/line You commented.

    Thanks in advance

  4. francoboy7
    Member
    Posted 10 months ago #

    It will be my pleasure if it can help someone :

    File to edit : easy_wp_smtp.php
    Location of the file : wp-content/plugins/easy-wp-smtp

    Line to edit : #19 | #21 | #22

    #19 is :
    $phpmailer->From = $ewpsOptions["from"];

    #21 is :
    $phpmailer->Sender = $phpmailer->From; //Return-Path
    #22 is :
    $phpmailer->AddReplyTo($phpmailer->From,$phpmailer->FromName); //Reply-To

    Basically what I did is to comment these line to disable them, because I already write those lines in my templates with some changing FROM and SENDER and REPLY-TO

    If you have any quesiton feel free to ask as it took me a long time to figure this one out.

  5. wpecommerce
    Member
    Plugin Author

    Posted 10 months ago #

    Hi, just released an update. It should be fixed now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic