";
$message .= "Last Name: " . $_REQUEST['last_name'] . "
";
$message .= "Email: " . $_REQUEST['email'] . "
";
$message .= "Phone: " . $_REQUEST['phone'] . "
";
$message .= "Product Application: " . $_REQUEST['product_application'] . "
";
$message .= "Binder Type: " . $_REQUEST['binder_type'] . "
";
$message .= "Ferrite Grade: " . $_REQUEST['ferrite_grade'] . "
";
$mail = new PHPMailer(true);
$mail->IsSendmail();
$mail->AddReplyTo(EMAIL_ADDRESS,EMAIL_NAME);
$mail->From = EMAIL_ADDRESS;
$mail->FromName = EMAIL_NAME;
$mail->AddAddress(EMAIL_ADDRESS);
$mail->Subject = $subject;
$mail->AltBody = "To view the message, please use an HTML compatible email viewer!";
$mail->WordWrap = 80;
$mail->MsgHTML($message);
$mail->IsHTML(true);
if (!$mail->Send()) {
$msg = "Mailer Error: " . $mail->ErrorInfo;
} else {
header ("Location: http://www.hoosiermagnetics.com/contact-thank-you.html");
}
break;
default:
include("includes/left_form.php");
}
print @$msg;
print'