Guest User

Guest User

  • Tech Writer
  • 2.1k
  • 480.7k

webmail settings to send email

Mar 10 2023 7:41 PM

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';

 


Answers (1)