macdave
Forum Replies Created
-
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:
http://php.net/manual/en/migration56.openssl.phpMaybe 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 9 years, 6 months ago by macdave. Reason: Code added
Can be an issue related to conjunction with PHPMailer and PHP7? The sites affected are hosted on a server with PHP7 installed.
I’ve solved turning off encryption (Type of Encryption: None), but I don’t use a Google account.