[wp-trac] [WordPress Trac] #39775: wp_mail miss send Content-Type with boundary when array header does not have other custom headers
WordPress Trac
noreply at wordpress.org
Wed Jul 9 23:57:10 UTC 2025
#39775: wp_mail miss send Content-Type with boundary when array header does not
have other custom headers
--------------------------+------------------------------
Reporter: kn007 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version:
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by SirLouen):
* status: new => closed
* resolution: => duplicate
Comment:
It's not being ignored by `wp_mail` but by PHPMailer. When setting custom
headers, the `boundary` is removed as it fallback as a regular `plain`
email.
Already reported upstream, and this has become essentially a duplicate of
#15448
When we sort out the multipart problem, this will be sorted also. I hope
we can achieve this before 6.9 release. Stay tuned to the other report.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39775#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list