IsSmtp();
$mail->SMTPDebug = false;
$mail->do_debug = 2;
$mail->SMTPAuth = true; // authentication enabled
$mail->SMTPSecure = 'ssl'; // secure transfer enabled REQUIRED for GMail
$mail->Host = 'mail.finelineautobody.com';
$mail->Port = 465;
$mail->Username = "tool@finelineautobody.com"; // SMTP username
$mail->Password = "Twinsgmc321!"; // SMTP password
$mail->AddAddress($status);
$mail->Priority = 1;
$mail->WordWrap = 50; // set word wrap
$mail->IsHTML(true); // send as HTML
$mail->Subject = "FINE LINE AUTO BODY | Need A Tow";
$mail->AltBody = "This is the text-only body";
// defines how message looks in email
$mail->Body="
This customer needs a repair quote. Lets not keep him waiting!
Personal Info
---------------
Full Name: $name
Phone Number: $phone
Email: $email
Vehicle Info
---------------
Vehicle make: $make
Vehicle Model: $model
Year: $year
Vin: $vin
Insurance Company: $insurance_company
Message:$message
";
// looks good in your inbox
$mail->setFrom('tool@finelineautobody.com', 'System');
$mail->AddReplyTo($email,$name);
//send the message, check for errors
if (!$mail->send()) {
echo "Mailer Error:" . $mail->ErrorInfo; echo 'it failed';
} else {
echo 'It has been done';
}}
?>
IsSmtp();
$mail->SMTPDebug = false;
$mail->do_debug = 2;
$mail->SMTPAuth = true; // authentication enabled
$mail->SMTPSecure = 'ssl'; // secure transfer enabled REQUIRED for GMail
$mail->Host = 'mail.finelineautobody.com';
$mail->Port = 465;
$mail->Username = "tool@finelineautobody.com"; // SMTP username
$mail->Password = "Twinsgmc321!"; // SMTP password
$mail->AddAddress($status);
$mail->Priority = 1;
$mail->WordWrap = 50; // set word wrap
$mail->IsHTML(true); // send as HTML
$mail->Subject = "FINE LINE AUTO BODY | Need A Tow";
$mail->AltBody = "This is the text-only body";
// defines how message looks in email
$mail->Body="
This customer needs a repair quote. Lets not keep him waiting!
Personal Info
---------------
Full Name: $name
Phone Number: $phone
Email: $email
Vehicle Info
---------------
Vehicle make: $make
Vehicle Model: $model
Year: $year
Vin: $vin
Insurance Company: $insurance_company
Message:$message
";
// looks good in your inbox
$mail->setFrom('tool@finelineautobody.com', 'System');
$mail->AddReplyTo($email,$name);
//send the message, check for errors
if (!$mail->send()) {
echo "Mailer Error:" . $mail->ErrorInfo; echo 'it failed';
} else {
echo 'It has been done';
}}
?>