[wp-trac] [WordPress Trac] #17305: wp_mail() does not accommodate address format "Name <address at tld.com>"

WordPress Trac wp-trac at lists.automattic.com
Mon May 2 16:02:00 UTC 2011


#17305: wp_mail() does not accommodate address format "Name <address at tld.com>"
--------------------------+-----------------------------
 Reporter:  dllh          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Mail          |    Version:  3.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The wp_mail() function does not accommodate addresses in the form "Name
 <address at tld.com>". The phpmailer class chokes on this format, as the
 whole string is passed to its $address parameter rather than the
 constituent parts being passed as $address and $name. This does not likely
 affect a great many mailer functions in core, but it does stand to affect
 plugins (and does affect some wpcom plugins). The attached patch resolves
 the issue.

 If I can provide any further information to increase the likelihood of
 landing this pretty quickly so that it can land on wpcom, please speak up.

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


More information about the wp-trac mailing list