Hey,
i have a web site with 2000 users, and i needed to send all of them an email which i did using the mail() function and it seemed to work ok but now my mail() function doesn't work.
This:
<?
$from = "From: sender";
$to = "mail@server.com";
$subject = "Hi! ";
$body = "TEST";
if(mail($to,$subject,$body,$from)) echo "MAIL - OK";
else echo "MAIL FAILED";
?>
thinks for about 10-20 sec. and says MAIL - OK but no email sent, maybe there is something wrong with my sendmail program?
Any suggestions?
Thank you