Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

phpmailer valid cert

//Turn off cert checking for self signed 
//Probably needed when you fail to auth
$phpMailer->SMTPOptions = [
  'ssl' => [
    'verify_peer' => false,
    'verify_peer_name' => false,
    'allow_self_signed' => true
  ]
];
 
PREVIOUS NEXT
Tagged: #phpmailer #valid #cert
ADD COMMENT
Topic
Name
1+4 =