Looks to me like he's using PEAR::Mail which, in my experience, is better than PHPMailer. He just needs to change something in this existing code to get email sent via PEAR mail:
function SendEmails(){
global $_values, $zag, $un;
$un = strtoupper(uniqid(time()));
$to[0] .= "myemail@CleaningBiz.com";
$subject[0] .= "contact was submitted on ".date("F j, Y")." ".date("H:i")."";
$head[0] = "From: ".str_replace("%,%", ",", $_values['email'])."\n";
$head[0] .= "Subject: contact was submitted on ".date("F j, Y")." ".date("H:i")."\n";
$head[0] .= "X-Mailer: Forms Expert at www.forms-expert.com\n";
$head[0] .= "Reply-To: ".str_replace("%,%", ",", $_values['email'])."\n";
$head[0] .= "Content-Type:multipart/mixed;";
$head[0] .= "boundary=\"".$un."\"\n\n";
$EmailBody = "<html>
<body>
Form was filled with the following data:
<br>
<br><b>Name:</b> ".htmlspecialchars($_values["name"])."
<br><b>Address:</b> ".htmlspecialchars($_values["address"])."
<br><b>City/State:</b> ".htmlspecialchars($_values["city_state_zip"])."
<br><b>Phone:</b> ".htmlspecialchars($_values["phone"])."
<br><b>Email:</b> ".htmlspecialchars($_values["email"])."
<br><b>Comments:</b> ".htmlspecialchars($_values["comments"])."
</body></html>
";
BuildBody($EmailBody, True, 0);
for ($i=0;$i<=0;$i++){
mail($to[$i], $subject[$i], $zag[$i], $head[$i]);
}
}
Marion628, I hope you realize you posted your password in that text file. You might want to change it or you can probably expect some abuse.