Closed lianglee closed 1 year ago
Setting
if($settings->port == "465"){
$mail->SMTPSecure = "ssl";
}
Won't work for many providers. Seems some expecting TLS instead.
Sticking with the rule
$settings->port == "587" = TLS $settings->port == "465 = SSL
Michael told me if port is 465 then smtpsecure need to be ssl