Hi Team
I need some help with these settings below, want to use them from my email sending.
// Set the SMTP host name
$mail->Host = 'smtp.gmail.com';
// Set the SMTP port number
$mail->Port = 587;
// Set the encryption system to use - ssl (deprecated) or tls
$mail->SMTPSecure = 'tls';
Vishal JoshiPosted Mar 13, 2023, 5:15 AM
Hello
You can try the below sample code settings to send emails with an encryption system by using SSL.
Thanks