The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

From: Email not showing (4 posts)

  1. Coach Karl Ruegg
    Posted 3 years ago #

    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?


  2. spotoremor
    Posted 3 years ago #

    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.

  3. spotoremor
    Posted 3 years ago #

    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.

  4. livingstonescreative
    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SMTP
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic