Hi,
my website is on window server.
i have to send mail from the site.
m using code as below:
$fromemail=$_POST['email']; //myuemail is ulternet email
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $fromemail";
$msg2.=$_SERVER['REMOTE_ADDR']." Time : ".date('Y-m-d HⓂs');
$msg="Hello,<br>";
$myresult=mail($to_mail_2, $msg2 , $msg, $headers );
but its not working. 🙁
same code is woking on Linux server. 🙂