I am writing some functionality for a site which deals with newsletters, and the sending of them to their subscribers. When an email is successfully sent the subscriber entry in a file is checked as sent, however if one is not sent, how can i determine between different error codes for smpt. such as the server being down, incorrect email address of any other error for that matter, as i will need to flag these subscibers accordingly.
thanks
cajchris
thanks
cajchris