after insert all information ,and return to the index.html
i still don't receive any email from the website .
how can i fix this ?
sorry, I'm working on improving my english.
Code: Select all
<?php
if(isset($_POST['submit'])) {
$msg = 'Company: '.$_POST['company']."\n"
.'Address: '.$_POST['address']."\n"
.'Website: '.$_POST['website']."\n"
.'Your Contact: '.$_POST['contact']."\n"
.'Email : '.$_POST['email']."\n"
.'Remark : '.$_POST['remark']."\n";
mail('sale@jadepack.com.sg', 'Online Enquiry', $msg);
header('location: index.html');
} else {
header('location: onlineenquiry.html');
exit(0);
}
?>
http://www.jadepack.com.sg/onlineenquiry.html