Of course replacing the email addy with my own. I then ran the php file. I got an error in the SENDMAIL logs about incorrect data format? So sendmail defantly picks up the mail, just has that error.
you could do something like this to check if the mail has sent:
Code:
<?php
$themail = mail("to","sub","mess");
if($themail){
echo "Successfully sent mail";
}else{
echo "Error in sending mail";
}
?>
Regards,
Martin
Gaming Help And Info:
[URL unfurl="true"]http://gaming.webrevolt.biz[/URL]
Thanks to all for replys, the problem was in my hosts file, in that it was telling my ISPs relay it was "localhost.localdomain" and so the relay was being rejected.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.