I have a little php script on my server for sending mail:
<?
$to=$_POST["to"];
$subject=$_POST["subject"];
$body=$_POST["body"];
mail($to,$subject,$body);
?>
when I pass this kind of email – myEmail@gmail.com all is fine but when I pass this kind of mail – mail@myWebSite.com the mail won’t send. any ideas why?
EDIT: i should mention that mail@myWebSite.com is actually mail@myWebSite.co.il although i don’t think that should matter
thanx in advance
This issue involves the fact that the same php script behaves differently on windows and linux servers.