Support » Plugin: Easy Username Updater » Bad sender name, notification goes to spam

  • Hi,

    Thanks for this plugin it’s very handy.

    I noticed many users were not getting notifications, and indeed my own Gmail account treated it as spam. That’s when I noticed that the plugin sets its own From fields, sender name is set to the website’s name, which is OK, and senders address is set to donotreply@site.com , which is not so good for deliverability (breaks authentification protocols such as SPF/DKIM).

    I just commented this line of code in mail.php,
    $headers .= "From: $blogname <donotreply@site.com>" . "\r\n";
    I then sent a test notification and both fields were back to the default WordPress settings : From name is WordPress and From address is wordpress@mydomain.com (where mydomain is actually my domain)

    Indeed the test notification did not get treated as spam.

    My suggestion would be to leave these settings as default, first because it avoids sending the notifications to spam, second because it makes maintenance easier (if you want to customize From address you just do it in one place).

    Thanks again

  • The topic ‘Bad sender name, notification goes to spam’ is closed to new replies.