Hi
I m using the one source code for sending email in php. It is working for gamil account, but for other account it is not working. could u point the error ?
<?php
header("Location:http://www.3dcad.co.in/thanks.html");
$totalcomments.="NAME: ".$_POST['name']."\n";
$totalcomments.="EMAIL: ".$_POST['email']."\n";
$totalcomments.="CONTACT NO: ".$_POST['contact']."\n";
$totalcomments.="DESCRIPTION: ".$_POST['description']."\n";
$subject ="ENQUIRY FROM WEB SITE";
$message = $totalcomments;
$headers =
$mailto = "syed786patu@gmail.com";
mail($mailto,$subject,$message,"From:$mailto\r\nContent-type: text/html; charset=us-ascii");
exit();
?>