mail function error
Posted on 2003-10-28
Is there any way to see what exactly the error is when I am calling my mail() function? It have the mail function in a while loop that goes through a list of emails, the first one works, but a particualar email address is causing it to fail the second time through the loop.
I think I can figure out the problem, if only I knew how to see what the error is. Does mail return some sort of error code? in PHP's docs, I didn't find anything that pointed me in the right direction.