$to = "info@sunwestgolf.com"; $subject .= "$firstname $lastname used the Contact Form"; $input1 .= "$firstname has filled out the Contact Form on your website.\nBelow is $firstname's information.\n\n"; $input2 .= "Name:...........................$firstname $lastname"; $input3 .= "\n\nEmail:.......................... $email"; if ($company == "") { $input4 = "\n\nCompany:........................None given."; } else { $input4 .= "\n\nCompany:............................$company"; } if ($address == "") { $input4 = "\n\nAddress:........................None given."; } else { $input4 .= "\n\nAddress:............................$address"; } if ($address2 == "") { $input4 = "\n\nAddress 2:........................None given."; } else { $input4 .= "\n\nAddress 2:............................$address2"; } if ($city == "") { $input5 = "\n\nCity:........................None given."; } else { $input5 .= "\n\nCity:............................$city"; } if ($state == "") { $input6 = "\n\nState:........................None given."; } else { $input6 .= "\n\nState:............................$state"; } if ($zipcode == "") { $input7 = "\n\nZip Code:........................None given."; } else { $input7 .= "\n\nZip Code:............................$zipcode"; } $input8 .= "\n\nTelephone:.......................... $telephone"; if ($fax == "") { $input9 = "\n\nFax:........................None given."; } else { $input9 .= "\n\nFax:............................$fax"; } if ($feedback == "") { $input10 = "\n\nTheir Feedback:........................None given."; } else { $input10 .= "\n\nTheir Feedback:............................$feedback"; } $msg = $input1.$input2.$input3.$input4.$input5.$input6.$input7.$input8.$input9.$input10; mail($to, $subject, $msg, "From: Web Form"); $to = $email; $subject_auto .= "$firstname, Your information has been received."; $input_auto1 = "Thank for your interest in SunWest Golf & Reclamation. \n\n"; $input_auto1 = "We are please that you are interested in our business. A representative will contact you as soon as we can with the information that you have requested.\nOnce again, thank you for your business.. \n\n"; $input_auto3 = "\nIf you have any more questions, please feel free to call:\n\nOffice Phone: (520) 426-1911 \nEmail -- info@sunwestgolf.com"; $msg_auto = $input_auto1.$input_auto2.$input_auto3; mail($to, $subject_auto, $msg_auto, "From: SunWest Golf & Reclamation"); ?>
![]() |
|
||
|
|||
|
![]()
|
Home | Services | Photos | Specs | Contact Us
SunWest Golf & Reclamation
An Arizona Licensed Contractor
|
|