Lamp - PHP mailer not working after last lamp and mail apps update

can you try to not verify the certificate, this is an example, not sure it is relevant to your need

$mail->SMTPOptions = array(
‘ssl’ => array(
‘verify_peer’ => false,
‘verify_peer_name’ => false,
‘allow_self_signed’ => true
)
);

1 Like