[wp-trac] [WordPress Trac] #39753: wp_mail() under PHP 7 hosted on Windows creates malformed email messages

WordPress Trac noreply at wordpress.org
Wed Feb 1 15:50:53 UTC 2017


#39753: wp_mail() under PHP 7 hosted on Windows creates malformed email messages
-------------------------------+--------------------
 Reporter:  Andy Schmidt       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.7.3
Component:  Mail               |     Version:  4.7.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+--------------------
Changes (by Andy Schmidt):

 * keywords:   => reporter-feedback


Comment:

 Dear Kelderic, yes, I had noted that thread regarding PHPmailer 6. Since
 it seems that the underlying cause had not been discovered by them, I have
 now posted the information to their thread, about the breaking change in
 PHP 7 with the win32 implementation of mail(), and the intended future
 major change to mail().

 I also suggested to them a pragmatic approach for PHPmailer 6 which would
 maintain backward compatibility with both operating system families and
 both PHP versions.

 (The whole thing is quite a mess. If have been watching generations of PHP
 developers trying tackle this for more than 10 years, alternately trying
 to enforce RFC compliance, followed by retractions when they realize the
 legacy impact.)

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


More information about the wp-trac mailing list