// Send Contact Message $business=$_POST['Business']; $name=$_POST['Name']; $street=$_POST['Street']; $town=$_POST['Town']; $address=$_POST['Address']; $postcode=$_POST['Postcode']; $phone=$_POST['Phone']; $email=$_POST['Email']; $comments=$_POST['Comments']; $radiobutton=$_POST['radiobutton']; $comments = str_replace("\n","\r\n",$comments); $howsoon=$_POST['select']; // ####################### Set up email ############################## $senderemail = $email; $sendername = "Mark and Sue's Cleaning Service 2"; $subject = "Mark and Sue's Cleaning - Trade Enquiry 2"; $mailheader = "From: $senderemail\n"; $message = "The following message has been sent via Mark and Sue's Cleaning (trade 2)\n\n"; $message .= "First Name: ".$business."\n"; $message .= "Surname Name: ".$name."\n"; $message .= "Street: ".$street."\n"; $message .= "Town: ".$town."\n"; $message .= "City: ".$address."\n"; $message .= "Postcode: ".$postcode."\n\n"; $message .= "Phone: ".$phone."\n"; $message .= "Email Address: ".$email."\n\n"; $message .= "Comments: \n ".$comments."\n\n"; $message .= "How soon: ".$howsoon."\n"; $message .= "Ticked: ".$radiobutton."\n"; // ############################# Send email ###################################### mail('marksue@ironingcleaning.co.uk', $subject, $message, $mailheader) ; //or die ("There has been a problem. Do not press the back button, please contact admin@spongesoccer.com quoting error no. 100"); // ############################################################################### ?>
Pricing & Getting Started
Terms |
||||||