[wp-trac] [WordPress Trac] #39753: wp_mail() under PHP 7 hosted on Windows creates malformed email messages
WordPress Trac
noreply at wordpress.org
Wed Mar 12 00:53:10 UTC 2025
#39753: wp_mail() under PHP 7 hosted on Windows creates malformed email messages
------------------------------------+-----------------------------
Reporter: Andy Schmidt | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: Mail | Version: 4.7.2
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Changes (by SirLouen):
* keywords: has-patch needs-testing => has-patch dev-feedback
Comment:
Have to add to this conversation, that after 7 years, this issue was
resolved by the current implementation of PHPMailer 5.5 made in 2020
But now we are in 2025, and PHPMailer has kept evolving
For example, no too far in the same year (2020), they released the version
[https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md#version-615
-march-14th-2020 6.1.5] that ensures CRLF is used explicitly when needed,
rather than `static::$LE`.
Also, the 6.9.0 added the support for newer versions of PHP like 8.3. The
thing is that I can't see any current maintainer of the Mail component.
I'm removing the `needs-testing` tag because it doesn't apply anymore.
I might look for further instructions in case anyone could be interesting
in doing another version upgrade for the greater good.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39753#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list