
|
|
|

|

|

-
-
| |  | |
Contact Form
Name: $fullname
E-mail Address: $email
Address: $address
City: $city
State: $state
Zip Code: $zipcode
Home Phone: $homePhone
Cell Number: $cellNo
Services Requested: $serviceRequested
Comments/Questions: $comments
";
include("../class.phpmailer.php");
$mail = new PHPMailer;
$mail->IsSMTP();
$mail->Host = "localhost";
$mail->Port = 25;
$mail->Username = "service1@mstct.com";
$mail->Password = "7789pp";
$mail->SMTPAuth = true;
$mail->From = $email;
$mail->FromName = $fullname;
$mail->AddReplyTo($email);
$mail->IsHTML(true);
$mail->AddAddress('service@mstct.com');
$mail->Subject = $subject;
$mail->Body = $message;
if($mail->Send())
{
echo 'Thanks for your query. We will contact you soon
« Back';
}
else{
echo 'We are sorry but there seems to be some problem with our system. Please try again later.
« Back';
}
}
else{
?>
|

|
|


|