Yes you always will get done cose echo("sent=done"); is always true in this script. I`m note sure but i think that send mail is forbidden on most public servers..try to contact server admin and ask him for SMTP server, or you can use ini_set("SMTP", "mail.server.com"); to use another SMTP server...🙂 if that server allow your request
and try this:
<?php
if(mail("tonyryounes@hotmail.com","My sub" ,"hellllo","From: [email]me@mydomain.net[/email]\r\n")) {
echo("sent=done");
}
else {
echo("sent=nope");
}
?>
Dont u get any errors or warnings??