WordPress.org

Ready to get started?Download WordPress

Forums

SMTP
From: Email not showing (4 posts)

  1. Coach Karl Ruegg
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/smtp/

  2. spotoremor
    Member
    Posted 9 months 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
    Member
    Posted 9 months 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
    Member
    Posted 6 months 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

About this Topic