$mail = new PHPMailer();
$mail->IsHTML(true);
$mail->IsSMTP();
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->SMTPSecure = ""; // sets the prefix to the servier
$mail->Host = "mail.xxxxxx.com"; // PAsswd sets GMAIL as the SMTP server
$mail->Port = 25; // set the SMTP port for the GMAIL server
$mail->Username = "xxxxxx.com"; // GMAIL username
$mail->Password = "xxxxxx"; // GMAIL password
$mail->From = "xxxxx"; // "[email protected]";