<?php
//DO NOT ADD ANYTHING ABOVE THIS LINE, AS YOUR PHP SCRIPT WILL NOT WORK
 
$email = "SFImaging@Gmail.com";
$message = "The following information was submitted from the form on your website:\n
";
$message .= "Listing Agent Name (First, Last): ".$_REQUEST["Listing_Agent_Name_First_Last__1"]."\n\n";
$message .= "Listing Agent Email: ".$_REQUEST["Listing_Agent_Email__2"]."\n\n";
$message .= "Listing Agent Phone Number: ".$_REQUEST["Listing_Agent_Phone_Number__3"]."\n\n";
$message .= "Property Address: ".$_REQUEST["Property_Address__4"]."\n\n";
$message .= "Property Square Feet: ".$_REQUEST["Property_Square_Feet__5"]."\n\n";
$message .= "Property Occupancy Status: ".$_REQUEST["Property_Occupancy_Status__6"]."\n\n";
$message .= "Virtual Tour and Video:\n\n";
$message .= "I would like a Virtual Tour Slideshow ($20 additional): ".$_REQUEST["I_would_like_a_Virtual_Tour_Slideshow_20_additional__7"]."\n\n";
$message .= "I would like Video (Starting at $250 additional): ".$_REQUEST["I_would_like_Video_Starting_at_250_additional__7"]."\n\n";
$message .= "Lock Box Code: ".$_REQUEST["Lock_Box_Code__8"]."\n\n";
$message .= "Home Owner Name: ".$_REQUEST["Home_Owner_Name__9"]."\n\n";
$message .= "Home Owner Phone Number: ".$_REQUEST["Home_Owner_Phone_Number__10"]."\n\n";
$message .= "Additional Info: ".$_REQUEST["Additional_Info__11"]."\n\n";
$headers2 = "MIME-Version: 1.0\r\n"
           ."Content-Type: $contentType; charset=utf-8\r\n"
           ."Content-Transfer-Encoding: 8bit\r\n"
           ."From: =?UTF-8?B?".base64_encode(".$email.")."?= <".$email.">\r\n"
           ."Reply-To: ".$email."\r\n"
           ."X-Mailer: PHP/".phpversion();
mail( $email, "Form Submission from your www.sf-imaging.com website", $message, $headers2 );
header("Location: http://www.sf-imaging.com/ordersending");
?>