[wp-trac] [WordPress Trac] #39753: wp_mail() under PHP 7 hosted on Windows creates malformed email messages
WordPress Trac
noreply at wordpress.org
Mon Feb 27 07:43:49 UTC 2017
#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: 4.7.4
Component: Mail | Version: 4.7.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+-----------------------------
Comment (by dd32):
> PHP states clearly that both data as well as header ought to be
terminated with \r\n.
>
> It seems that at some point, WordPress should commit to follow the
prescribed behavior as much as possible while being mindful about backward
incompatibility with legacy Linux systems.
My feeling here is that we should stick to PHPMailer's defaults - If
PHPMailer releases an updated version in the 5.x series which uses \r\n
we'll update to that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39753#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list