|
|
Home
> enquiry/feedback |
|
|
|
|
|
|
|
|
|
|
For general information on Chartered Institute of Technology and feedback. |
if ($_POST[email])
{
//send mail
$myMessage .= "Hello: \n\n";
$myMessage .= "$_POST[name] has sent an Enquiry in:\n";
$myMessage .= "E-Mail: $_POST[email]\n";
$myMessage .= "Profession: $_POST[profession]\n";
$myMessage .= "Phone: $_POST[phone]\n";
$myMessage .= "Address: $_POST[address]\n";
$myMessage .= "Postal Code: $_POST[postalCode]\n";
$myMessage .= "Country: $_POST[country]\n";
$myMessage .= "City: $_POST[city]\n\n";
$myMessage .= "Enquiry: $_POST[enquiry]\n";
$myMessage .= "Comments: $_POST[comments]\n";
$fromEmail = "$_POST[email]";
$toEmail = "enquiry@citech.edu.sg"; //Specify your email address
$mySubject = "General Enquiry"; //Specify your subject title
mail("$toEmail", "$mySubject", $myMessage, "From: $_POST[name]");
echo"Thank you, your message has been sent";
}
else
{
//display form
?>
}
?>
|
|
|
|
|
|
|
|
Chartered Institute of Technology Pte Ltd, 10 Anson Road, International Plaza, #24-02, Singapore 079903 Tel: 6276 4890 | enquiry
| |
|
|