Support » Plugin: SMTP » From: Email not showing

  • Hi,
    First I would like to thank you for the great plugin!
    Second, I just setup Subscribe2 and SMTP to send email notifications to my subscribers when a new post is posted. All seems to be working very well except that the emails arriving in the inbox don’t show who they are coming from. This is making my subscribers nervous because they think it might be spam or spoof or phishing, etc. This also happens when I send a test email using SMTP. Any ideas what I might be doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi ,

    Thanks for this simple easy to use plugin. Almost same as karlruegg concern. Using Contact Form 7, and SMTP (this plugin) the value of From field that I specify in the form (CF7) does not reflect in the “From” of the email that I’m receiving. Instead it is using the email in user_id = 1 as the value.

    Any way how to fix this? or I may be missing something? Please advice. Thanks.

    Just want to share my work around for this, in line 238 and line 241 of smtp.php. I revised the codes into this:

    // Set From value
        $phpmailer->From = empty($phpmailer->From) ? $admin_info->user_email : $phpmailer->From;
        // Set FromName value
        $phpmailer->FromName = empty($phpmailer->FromName) ? $admin_info->display_name : $phpmailer->FromName;

    I can use this while waiting for the author’s reply or update.



    Thanks for posting your fix – works a treat.

    Finger’s crossed that the SMTP authors incorporate this fix into any future updates or we’ll all have to remember to manually rewrite those lines after the next update!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘From: Email not showing’ is closed to new replies.