It seems to be an issue related to PHPMailer in conjunction with PHP v5.6 and above, when a self-signed certificate (or not formally correct certificate) is present on the SMTP server requested.
I’ve found this:
https://php.net/manual/en/migration56.openssl.php
Maybe something like a flag “Trust all certificates” should be needed in the plugin’s GUI, or a modification of the PHPMailer defaults used in WordPress.
This is the suggested option to do this:
$mail->SMTPOptions = array(
‘ssl’ => array(
‘verify_peer’ => false,
‘verify_peer_name’ => false,
‘allow_self_signed’ => true
)
Excuse me for my bad english.
-
This reply was modified 8 years, 2 months ago by macdave. Reason: Code added