[wp-trac] [WordPress Trac] #18792: Wrong FROM email when using wp_mail and built in mail() function

WordPress Trac noreply at wordpress.org
Mon Oct 21 21:11:11 UTC 2013


#18792: Wrong FROM email when using wp_mail and built in mail() function
-------------------------------------------------+-------------------------
 Reporter:  pigster                              |       Owner:  westi
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  Awaiting
Component:  External Libraries                   |  Review
 Severity:  major                                |     Version:  3.2.1
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests 2nd-opinion                              |
-------------------------------------------------+-------------------------

Comment (by atimmer):

 Maybe we can set Sender only when the user passes a custom mail address.
 When a user passes a mail address we then assume their intend is to make
 sure te receiver receives the message from that mail address.

 We should add the check after the filter. If the $from_email doesn't
 contain Wordpress@ we set the Sender.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/18792#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list