Thanks.
I was going to add the code, but as i say, one-off emails were being sent fine.
If($MailResult = mail($Address, $Subject, $Message, $headers)){
$Result = "Sent";
}else{
$Result = "Not Sent";
}
**Having looked at this again, wouldnt this always return true? Even if mail() returned 0, it would still be assigned to the variable, returning 'true' to the IF?
The headers look like this;
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $admin_email <$admin_email>\r\n";
$headers .= "Reply-To: $admin_email\r\n";
I have asked the owner and none of the 3 users received the email. I did my own test and i received all of the emails fine, so there is not a 3 email limit.
I have checked the $Address and the string looks fine.
I will make it create a text file to save all of the parameters of the function just in case. (However i tried to break my test script and couldnt get this error).
Just to note that the only other time i have received this error on this server is when the $Address variable was blank, which, if you look at the error from the first post, resulted in there being nothing between the '< >' (this time there was an email address between them).
Thanks for any help/suggestions!
K.