lotabi
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
developer updated plugin 4 days ago… Anyway this is a support forum, I opened a ticket here for patch
https://plugins.trac.wordpress.org/ticket/2486
Alessandro
A better solution (avoid patch WP core).
add these lines on $wpms_options inside wp_mail_smtp.php
'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false )The result should be
global $wpms_options; // This is horrible, should be cleaned up at some point $wpms_options = array ( 'mail_from' => '', 'mail_from_name' => '', 'mailer' => 'smtp', 'mail_set_return_path' => 'false', 'smtp_host' => 'localhost', 'smtp_port' => '25', 'smtp_ssl' => 'none', 'smtp_auth' => false, 'smtp_user' => '', 'smtp_pass' => '', 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false ) );HTH
LotaHi Webdados, I agree patch core is not the solution, of course.
consider that
class-phpmailer.php contemplates SMTPOptions that Plugins shoud setI wrote […I suggest To author to add an option “verify_peer” true/false to plugin to override PHP 5.6 default…]
I take a look of plugin code to do this
I hope a new version of plugin relased soon
HTH
Alessandro
Viewing 3 replies - 1 through 3 (of 3 total)