[wp-trac] [WordPress Trac] #28407: You are unable to override the attachment name in wp_mail() when adding attachments

WordPress Trac noreply at wordpress.org
Tue Nov 15 20:38:30 UTC 2022


#28407: You are unable to override the attachment name in wp_mail() when adding
attachments
-------------------------------------------------+-------------------------
 Reporter:  syntaxart                            |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Mail                                 |     Version:  3.9.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests 2nd-        |     Focuses:
  opinion needs-testing dev-feedback             |
-------------------------------------------------+-------------------------

Comment (by smub):

 PHPmailer does this, but wp_mail doesn't have support for it. The above
 patch seems to get the job done. It would be super helpful if we can get
 this merged.

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


More information about the wp-trac mailing list