if (isset($_REQUEST['email'])) { $name = $_REQUEST ['name']; $company = $_REQUEST ['company']; $address = $_REQUEST ['address']; $phone = $_REQUEST ['phone']; $fax = $_REQUEST ['fax']; $email = $_REQUEST ['email']; $message = $_REQUEST ['message']; $mailbody = "
Feedback
Name
:
$name
Company
:
$company
Address
:
$address
Phon no
:
$phone
Fax
:
$fax
Email
:
$email
Message
:
$message
"; //-- do not forget to change the email address here $to = 'info@meghdootclub.com'; //change email addess as per the domain name and its contact email address //--- $subject = 'Inquiry from Website'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'From: '. $email . "\r\n"; mail( $to, "Subject: $subject", $mailbody, $headers ); echo"
Thank you for Spending Your Valuable Time With Us.
We will get back to you soon.
"; } else { ?>
*
- Required
Name
*
Company
*
Address
Phone
Fax
Email
*
Your Message
*
} ?>