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

pay.

$mail->Mailer = "smtp";
$mail->Host = "ssl://smtp.gmail.com";
$mail->Port = 465;
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = "username@gmail.com"; // SMTP username
$mail->Password = "password"; // SMTP password

regards.