There is also this.
I cannot send SSL secure email through the site.
but I can throw it with other settings.
sample
//Server settings
$mail->isSMTP(); // Send using SMTP
$mail->Host = 'mail.ruyadaruya.com'; // Set the SMTP server to send through
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'bilgi@ruyadaruya.com'; // SMTP username
$mail->Password = '**********'; // SMTP password
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; // Enable TLS encryption; `PHPMailer::ENCRYPTION_SMTPS` encouraged
$mail->Port = 587; // TCP port to connect to, use 465 for `PHPMailer::ENCRYPTION_SMTPS` above
$mail->SMTPOptions = [
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
]
];
how to fix?