[wp-trac] [WordPress Trac] #40576: Sending emails broken in 4.7.2

WordPress Trac noreply at wordpress.org
Wed Apr 26 13:15:18 UTC 2017


#40576: Sending emails broken in 4.7.2
--------------------------+--------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7.5
Component:  Mail          |     Version:  4.7.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------
Changes (by SergeyBiryukov):

 * component:  General => Mail
 * milestone:  Awaiting Review => 4.7.5


Old description:

> This change in 4.7.2 probably broke sending emails for some websites:
> https://core.trac.wordpress.org/changeset/39646
>
> PHPMailer was updated from 5.2.14 to 5.2.21 and several calls to
> `escapeshellcmd()` were added. But some users reported problems with
> emails not sending and we found some related errors, for example:
> `Warning: escapeshellcmd() has been disabled for security reasons in
> .../wp-includes/class-phpmailer.php on line 1442`.
>
> Function `escapeshellcmd()` is disabled by webhoster and it is not
> possible to allow it. Everything works in 4.7.1 and stopped working after
> automatic update to 4.7.2.

New description:

 This change in 4.7.2 probably broke sending emails for some websites:
 [39646]

 PHPMailer was updated from 5.2.14 to 5.2.21 and several calls to
 `escapeshellcmd()` were added. But some users reported problems with
 emails not sending and we found some related errors, for example:
 `Warning: escapeshellcmd() has been disabled for security reasons in
 .../wp-includes/class-phpmailer.php on line 1442`.

 Function `escapeshellcmd()` is disabled by webhoster and it is not
 possible to allow it. Everything works in 4.7.1 and stopped working after
 automatic update to 4.7.2.

--

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


More information about the wp-trac mailing list