} elseif($action == 'send'){
$name=$_POST['name'];
$email=$_POST['email'];
$phone=$_POST['phone'];
$inquiry=$_POST['inquiry_type'];
$message=$_POST['message'];
/* To send HTML mail, you can set the Content-type header. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$recipient = 'uros@genuineconstruction.ca';
$subject = "GenuineConstruction Client Message";
$mailheader = "From: albano@clockworkcreative.com";
$message = "A new message has been received. \n\nFrom: $name\nEmail: $email\n\nPhone: $phone\n\nInquiry Type: $inquiry\n\nMessage: $message";
mail($recipient, $subject, $message, $mailheader)
or die ("Failure");
$query_report = "Your message has been sent. You will hear back from us shortly.";
echo "Thank-you,
";
echo $query_report;
} else {
echo "Unrecognized action: ".$action;
}
?>
|
 |
|
Contact
Person
Uros
Jovanovic
E-Mail:
uros@genuineconstruction.ca
inquiry
email
Phone:
(416) 996-0886 cell
(416) 755-2273 tel
Mailing Address:
157 Sloane Avenue.
Toronto, Ontario
M4A 2B9
|
|