[wp-trac] [WordPress Trac] #5007: Email notifications fail on
hosted sites that check sender address
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 19 07:34:27 GMT 2007
#5007: Email notifications fail on hosted sites that check sender address
----------------------+-----------------------------------------------------
Reporter: jlwarlow | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.2.3
Component: General | Version: 2.2.3
Severity: minor | Keywords: phpmailer
----------------------+-----------------------------------------------------
I had wordpress 2.2.2 hosted on FastHosts and wasn't getting any email
notifications, everything was landing in dead.letter. After some
investigation I found it was because the phpmailer->Sender wasn't being
set. Fasthosts check the sender email address to make sure it's a valid
email address for an account in your domain as part of their spam
filtering rules.
If you add the line
{{{
$phpmailer->Sender = "wordpress@" . preg_replace('#^www\.#', '',
strtolower($_SERVER['SERVER_NAME']));
}}}
to pluggable.php on wp-includes before the line
{{{
$phpmailer->FromName = "WordPress";
}}}
I found this fixed the issue.
--
Ticket URL: <http://trac.wordpress.org/ticket/5007>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list