'') { $ToEmail = 'ziyaabbasabidi@gmail.com'; $EmailSubject = 'Site contact form'; $mailheader = "From: ".$_POST["email"]."\r\n"; $mailheader .= "Reply-To: ".$_POST["email"]."\r\n"; $mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n"; $MESSAGE_BODY = "Organisation Name: ".$_POST["organisation"].""; $MESSAGE_BODY .= "Type: ".$_POST["type"].""; $MESSAGE_BODY .= "Services: ".$_POST["services"].""; $MESSAGE_BODY .= "No Of Employee: ".$_POST["no_of_employee"].""; $MESSAGE_BODY .= "Contact Person: ".$_POST["contact_person"].""; $MESSAGE_BODY .= "Contact No: ".$_POST["contact_no"].""; $MESSAGE_BODY .= "Alternative No: ".$_POST["alternate_no"].""; $MESSAGE_BODY .= "E-Mail: ".$_POST["email"].""; $MESSAGE_BODY .= "Country: ".$_POST["country"].""; $MESSAGE_BODY .= "District: ".$_POST["district"].""; $MESSAGE_BODY .= "State: ".$_POST["state"].""; $MESSAGE_BODY .= "City: ".$_POST["city"].""; mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure"); ?>
Organisation Name Type Services No Of Employee Contact Person Contact No Alternative No E-Mail Country State City