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

WordPress Trac noreply at wordpress.org
Sun Aug 16 11:31:42 UTC 2020


#51030: Error in wp_mail function
---------------------------+---------------------
 Reporter:  hichembelhadj  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.5.1
Component:  Mail           |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+---------------------
Changes (by SergeyBiryukov):

 * component:  General => Mail
 * milestone:  Awaiting Review => 5.5.1


Old description:

> 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

New description:

 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

--

Comment:

 Related: [48645] / #50720.

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


More information about the wp-trac mailing list