$body = eregi_replace("[\]",'',$body);
$mail->IsSMTP();
-$mail->SMTPAuth = true; // enable SMTP authentication
+$mail->SMTPAuth = TRUE; // enable SMTP authentication
$mail->SMTPSecure = "ssl"; // sets the prefix to the servier
$mail->Host = "smtp.gmail.com"; // sets GMAIL as the SMTP server
$mail->Port = 465; // set the SMTP port for the GMAIL server
$mail->AddAttachment("images/phpmailer.gif"); // attachment
-$mail->IsHTML(true); // send as HTML
+$mail->IsHTML(TRUE); // send as HTML
if(!$mail->Send()) {
echo "Mailer Error: " . $mail->ErrorInfo;