SMTP setting in phpmail
Hi to all,
I have site hosted on linux server.i want to use phpmailer to send smtp mail.
how i can do this.
somewhere i found this to use gmail server to send mail is it possible without
$mail->Mailer = "smtp";
$mail->Host = "ssl://smtp.gmail.com";
$mail->Port = 465;
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = "firstname.lastname@example.org"; // SMTP username
$mail->Password = "password"; // SMTP password
Check out PHPMailer on SourceForge.net. There is a text file included with the source that discusses using Gmail as the SMTP server.