<?
$ToEmail = "???????@.com";
##$ToName = "Jon";
$ToSubject = "Tobeon Newsletter";
$Address = "??????@????.co.uk";
$updated = $POST["updated"];
$status = $POST["status"];
$mood = $POST["mood"];
$message = $POST["message"];
$Mail = $POST["Mail"];
$newstextpage1 = $POST["newstextpage1"];
$newstextpage2 = $POST["newstextpage2"];
$newstextpage3 = $POST["newstextpage3"];
$newstextpage4 = $_POST["newstextpage4"];
$EmailBody = "Tobeon.co.uk was last updated on $updated\n\n$Mail\n\n$status\n$mood\n$message\n\n$newstextpage1\n\n$newstextpage2\n\n$newstextpage3\n\n$newstextpage4";
$EmailFooter="";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".Tom." <".$Address.">");
?>
I have made the above PHP file (note ???? are used to hide real addresses) however it doesnt work!
it seems to work fine at first but it doesnt want to send any emails ot hotmail address or any other one i can think of
(it works sending it to myself and to my friend, both me and him have accounts with the same hosting server (www.tobeon.co.uk www.shepherdnick.co.uk)
can anyone help?
will it just not work because hotmail is arsey? or have i done somthign wrong?
please please please help!
thaaank you!