[wp-trac] [WordPress Trac] #64368: `Could not instantiate mail function` errors sending mail in 6.9

WordPress Trac noreply at wordpress.org
Sun Dec 7 00:07:34 UTC 2025


#64368: `Could not instantiate mail function` errors sending mail in 6.9
--------------------------+-----------------------
 Reporter:  desrosj       |       Owner:  SirLouen
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  6.9.1
Component:  Mail          |     Version:  6.9
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+-----------------------

Comment (by SirLouen):

 Replying to [comment:13 siliconforks]:
 > I think the only way to get an error message like that is to do this:

 Not necessarily. If you have a `sendmail_path` set, it will also pick it
 for this purpose.

 https://github.com/WordPress/wordpress-
 develop/blob/1bcada8b8d5705aa980b7a467f84cb352f846533/src/wp-
 includes/PHPMailer/PHPMailer.php#L993-L1003

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


More information about the wp-trac mailing list