by axew3 » Tue Aug 30, 2016 2:05 pm
This is marked as resolved on 4.6.1.
On WordPress 4.6 i've resolved this bug with this temporary fix:
open file
wp-includes/pluggable.php
search for line:
Code: Select all
$phpmailer->setFrom( $from_email, $from_name );
replace with:
Code: Select all
if(stristr(PHP_OS, 'win') === FALSE) {
$phpmailer->setFrom( $from_email, $from_name );
} else {
$phpmailer->setFrom( $from_email, $from_name, false );
}
This is my temp fix on pluggable.php to get back working WP 4.6 email - on Win OS test server with Php 5.6.. and Apache 2.4, until WordPress 4.6.1 will be out.
This is marked as resolved on 4.6.1.
On WordPress 4.6 i've resolved this bug with this temporary fix:
open file [i]wp-includes/[b]pluggable.php[/b][/i]
search for line:
[code]$phpmailer->setFrom( $from_email, $from_name );[/code]
[b]replace with:[/b]
[code]if(stristr(PHP_OS, 'win') === FALSE) {
$phpmailer->setFrom( $from_email, $from_name );
} else {
$phpmailer->setFrom( $from_email, $from_name, false );
}[/code]
This is my temp fix on pluggable.php to get back working WP 4.6 email - on Win OS test server with Php 5.6.. and Apache 2.4, until WordPress 4.6.1 will be out.