Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: how to send mail via gmail smtp

$
0
0
Okay, thanks. Do I have to download anything else like sendmail or just put this;

// Configuring SMTP server settings
$mail = new PHPMailer;
$mail->isSMTP();
$mail->Host = 'smtp.gmail.com';
$mail->Port = 587;
$mail->SMTPSecure = 'tls';
$mail->SMTPAuth = true;
$mail->Username = $email;
$mail->Password = $password;


above //validation ?

Viewing all articles
Browse latest Browse all 4759

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


TYKEMA GLEATON


The Conjuring 2 (Tamil Dubbed)


Woman stabbed 12 times and dumped in ditch


Moondru Mudichu 07-06-2016 – Polimer tv Serial


Trio remanded on gun, other serious charges


Rick Ross & Etana – Kiss Of Judas – Single [iTunes Plus M4A]


The 6 Best Sex Scenes in Nollywood Movies


Take this week's NJ.com Local News Quiz


Angeline Yap kym?