$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= 'From: <coin2bid@example.com>' . "\r\n";
$retval = mail ($to,$subject,$message,$headers);
if( $retval == true ) {
echo 1;
} else
{echo 0;
}
I am trying to execute the above code. Few months ago i used the same on some another server.It was working perfectly. But now i am trying to execute it on some anopther server.But not working.Please suggest me some solution to solve this issue.