[wp-trac] [WordPress Trac] #8800: Mail notification problem (comments)

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 5 14:49:17 GMT 2009


#8800: Mail notification problem (comments)
--------------------------+-------------------------------------------------
 Reporter:  joukahainen   |       Owner:  anonymous             
     Type:  defect (bug)  |      Status:  new                   
 Priority:  low           |   Milestone:  2.8                   
Component:  General       |     Version:  2.7                   
 Severity:  minor         |    Keywords:  invalid sender address
--------------------------+-------------------------------------------------
 When Wordpress 2.7 sends email about new comments for some reason the
 sender address contains brackets, for example :

 >> MAIL FROM :<WordPress <wordpress at mydomain.net>>

 In my environment (Mercury mail in same server) this causes mail to be
 rejected by Mercury with  "sender address is invalid notification" if the
 sender is considered local.

 For temporary workaround i did change pluggable.php in wp-includes folder
 so that the sender address is considered non-local :

 // Set the from name and email
         $phpmailer->From = apply_filters(
 'wp_mail_from','@wordpresslocalserver.net');

 But this is offcourse an temporary workaround.

 I m not 100% sure that this is a WordPress issue, but it strongly seems to
 have something to do with the way WP is using php to send mail.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8800>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list