[wp-trac] [WordPress Trac] #49687: wp_mail() - Why is no envelope sender defined?

WordPress Trac noreply at wordpress.org
Thu Dec 4 21:26:43 UTC 2025


#49687: wp_mail() - Why is no envelope sender defined?
--------------------------------------------------+-----------------------
 Reporter:  vbbp                                  |       Owner:  SirLouen
     Type:  enhancement                           |      Status:  closed
 Priority:  normal                                |   Milestone:  6.9
Component:  Mail                                  |     Version:  5.4
 Severity:  major                                 |  Resolution:  fixed
 Keywords:  has-test-info has-patch has-dev-note  |     Focuses:
--------------------------------------------------+-----------------------

Comment (by dmsnell):

 There’s a report in Reddit about this failing with the following log
 message:

 > The email function could not be instantiated.

 This message is not in the WordPress code, which leads me to believe it’s
 being returned by an upstream mail function. It’s also not found inside
 the PHP source code.

 The report notes that reverting [61010] resolves the problem, so something
 about the `setFrom()` call must be causing a rejection somewhere that
 breaks things.

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


More information about the wp-trac mailing list