if ($action == 'sendmail') { $email = "Name: ".stripslashes($_POST[name])."\n"; $email .= "E-Mail: ".stripslashes($_POST[email_addr])."\n"; $email .= "Phone: ".stripslashes($_POST[phone])."\n"; $email .= "Equipment? ".stripslashes($_POST[equipment])."\n"; $email .= "Comments: ".stripslashes($_POST[comments])."\n\n"; $email .= "--end\n"; $extra_headers = "From: pat@connecting-source.com\nReturn-Path: pat@connecting-source.com\nReply-to: pat@connecting-source.com\nMessage-ID: <".md5(uniqid(time()))."@www.connecting-source.com>\nMIME-Version: 1.0\nContent-type: text/plain; charset=iso-8859-1\nContent-transfer-encoding: 8bit"; mail("pat@connecting-source.com","Estimate requested from Connecting-Source.com",$email,$extra_headers); $message = "
Thank you for requesting an estimate!
We will contact you as soon as possible to discuss your project.
"; } ?>
| |||||||||
Design and programming by MetroWeb Development |