FIX: Error : Peer certificate did not match expected CN=
-
Add this
$phpmailer->SMTPOptions = array(
‘ssl’ => array(
‘verify_peer’ => false,
‘verify_peer_name’ => false,
‘allow_self_signed’ => true
)
);at line 169
Information: https://codegists.com/snippet/php/wp_mail_smtp_custom_optionsphp_emzo_php
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘FIX: Error : Peer certificate did not match expected CN=’ is closed to new replies.