[wp-trac] [WordPress Trac] #46217: wp_mail() not sending messages on PHP7.3.x

WordPress Trac noreply at wordpress.org
Mon Jun 3 20:52:59 UTC 2019


#46217: wp_mail() not sending messages on PHP7.3.x
---------------------------+------------------------------
 Reporter:  whatevs        |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Mail           |     Version:  5.0.3
 Severity:  major          |  Resolution:
 Keywords:  needs-testing  |     Focuses:
---------------------------+------------------------------

Comment (by racosgrave):

 I am experiencing a similar issue using WP 5.2.1, PHP
 7.0.33-0ubuntu0.16.04.4, Easy WP SMTP Version 1.3.9.1.

 BBPress notifications come out from the system fine, Test Emails from Easy
 WP SMTP works fine, however when I call `wp_mail()` from one of my scripts
 (has been working fine) I now get an error like 'Invalid address:
 (setFrom) wordpress@' when I look at WP Mail Log.

 Previously I only had Content Type in the header, then did not specify any
 extra headers to `wp_mail()` which didnt work either. Only by setting the
 From: manually in the code (like I have redunantly in Easy WP SMTP) in the
 header and add that to `wp_mail()` does it actually work again.

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


More information about the wp-trac mailing list