Why the mail function not sending mail to me ,Could any one please help me ? Here i have wrote script to mail sending. Is there any other settings to send mail. But the mail function printing always "Success" , but the mail not received to me.
$Msg = "Your Suggestion is saved successfully. Please wait for admin approval";
$subject="New Suggestion Posted - Waiting for approval";
//$email_id = [email protected] ;
$email_id = [email protected] ;
$mail_msg="Hello Admin,<br><br>New Suggestion Posted. Waiting for approval.<br><br>
Suggestion : ".$frmdata[ description ]."<br><br> Click here for <a href= http://www.tatanykshipping.com/index.php >login</a><br><br> Thanks,<br>The TATA NYK Team";
$headers = MIME-Version: 1.0 . "
";
$headers .= Content-type: text/html; charset=iso-8859-1 . "
";
$headers .= "From: Tata NYK <".$_SESSION[ EMAIL_ID ].">
";
$headers .= "Organization: Tata NYK
";
echo <br>sending mail to = ,$email_id;
if(mail($email_id,$subject,$mail_msg,$headers))
echo <br>Successs ;
else
echo <br>Fail ;
预示着很多事。