";
}else{
$errormesg = "";
}
if ($quotecompany == ""){
$errormesg = "".$errormesg. "Please enter your company name.
";
}else{
$errormesg = "";
}
if ($quotecity == ""){
$errormesg = "".$errormesg. "Please enter your city name.
";
}else{
$errormesg = "";
}
if ($quotedesc == ""){
$errormesg = "".$errormesg. "Please provide a description of your shredding project.
";
}else{
$errormesg = "";
}
if ($service == ""){
$errormesg = "".$errormesg. "Please select a service.
";
}else{
$errormesg = "";
}
if ($quoteemail != ""){
$contactemail=trim($quoteemail);
$s=substr_count($quoteemail,"@");
$d=substr_count($quoteemail,".");
$m=substr_count($quoteemail," ");
if ($s==1 && $d>=1 && $m==0) {
$errormesg = "";
}else {
$errormesg = "".$errormesg. "Please enter your correct email address.
";
}}else {
$errormesg = "".$errormesg. "Please enter your email address.
";
}
if (!$errormesg)
{
ini_set("sendmail_path", "/usr/bin/sendmail");
$emailTo = $quoteemail;
$subject = "Request A Quote";
$body = "Thank you for your interest in Safeguard Shredding's secure on-site mobile shredding services. A customer service representative will be in contact with you within one business day to provide information and offer service options. \r
Name: " .$quotename."\r
Company: ".$quotecompany."\r
City: ".$quotecity."\r
Phone Number: ".$quotephone."\r
Email: ".$quoteemail."\r
Type of Service: ".$service."\r
(if other) Service: ".$servicetxt."\r
Comments/Questions: ".$quotedesc;
$esent = mail("sales@safeguardshred.com", $subject, $body, "From: sales@safeguardshred.com");
if ($esent){
header("Location: request_quote_thankyou.php");
}
}
}
?>
![]() |
|||
| |
|
||
|
|
|||
About Us | Why Safeguard? | Our Process | Why Shred? | Pricing | Resources | Contact Us | Home On-site Document Destruction for Maximum Security and Privacy Protection Serving Virginia, Maryland and Washington, DC Safeguard Shredding | 2890 Emma Lee Street | Suite 201, Falls Church, VA 22042 DC Phone: 703.849.8900 | Toll-Free: 1-888-955-0100 Fax: 703-849-8902 | E-mail: info@safeguardshred.com Copyright © 2004 Safeguard Shredding, Inc. | |||