[wp-trac] [WordPress Trac] #51030: Error in wp_mail function

WordPress Trac noreply at wordpress.org
Sun Aug 16 01:42:29 UTC 2020


#51030: Error in wp_mail function
---------------------------+-----------------------------
 Reporter:  hichembelhadj  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Hello,

 Currently I am developing a wordpress theme with a script to send a
 verification mail using wp_mail(). Since switching to wordpress version
 5.5 my script no longer works. By trying PHP's mail() function it works.
 By reinstalling the version of wordpress 5.4 with the wp_mail() function,
 it works again.
 While performing the debugging, I get the following error:
 [wp_mail_failed] => Array
                 (
                     [0] => Invalid address:  (From): wordpress at localhost
                 )

 Thanks for your feedback

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51030>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list