In the continuing trend of responding to my own messages.... Perhapps the issue is with how I am interpreting the docs, which state: mail() returns TRUE if the mail was successfully accepted for delivery, FALSE otherwise. I read that as, mail() will return true if PHP is able to connect to the MTA, pass the message, and the MTA responds that the message was accepted. My understanding (or assumption) of how the MTA operates is that it would not accept a message it did not know how to deliver, ie one with an invalid destination address. That being said, there is an article on builder.com with regards to mail and PHP which states: The mail() function will return true as long as it connects to the specified SMTP server. This does not mean that the mail successfully reached its intended recipient. The mail() function does not wait for or report success/error codes from the SMTP server Which contridicts my understanding of what the docs state, but explains my predicament. paul On Tue, 14 Dec 2004 20:05:41 -0500, Paul Reinheimer <preinheimer@xxxxxxxxx> wrote: > Hi, > > I was working with the mail function today to experiment with sending > a few messages, and threw in the apropriate checks so when mail() > can't send the message the apropriate errors were raised, however, I > discovered I couldn't actually get mail() to return 0. Take the > following call: > mail("dude", "Daily Feed Update", "body"); > > When I run that exact call (well, I prepend echo, but you get the > idea) it returns 1. I can't for the life of me understand why my MTA > would accept an email with a destination of 'dude'. > > Any thoughts? > > paul > -- > Paul Reinheimer > -- Paul Reinheimer Zend Certified Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php