php mail function
$cemail = trim($_POST['cemail']);
$cname = trim($_POST['cname']);
$subject = "Contact Us";
$message .= "<table><tr><td>Name : </td><td>$cname</td></tr> <tr><td>Email : </td><td>$cemail</td></tr></table>";
$message .= trim($_POST['cmsg']);
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: $cname<$cemail>" . "\r\n";
$headers .= "X-Mailer: PHP's mail() Function\n";
$to = "abc@hotmail.com";
if(mail($to,$subject,$message,$headers)){
$msgsent = "Thanks for contacting Us";
}
**Keep Hackers Away** 176+ Rock Solid Security for Wordpress
High-risk payment processing for pharma, e-cigs, seeds, and more!
Accepting investment management clients. Minimum deposit is $3000.
Skype/AIM: artizhay
www.OFFLINEMARKETINGFORUM.com (Register Now)
99 Names Of Prophet
How do you Make Money Online?
What are the best Traffic Sources To Make Money From Affiliate Marketing?
PHP Developer and Founder PHPGang.com Tutorial blog to solve your broblems