Michael Kochendoerfer wrote: > Arno, > > generally, the program should be able to extract the most important > information of an automated reply to a mail, i.e. from a mailserver > when the destination is unknown, mailbox is full, relaying isn't > allowed and the like. Some mailservers seem to return the original > mail completely, including all original attachments. But those aren't > of any interest ;)
Ok, then just exclude text attachments from being parsed (disposition attachment at least). There are text/plain, text/html and even text/rtf parts though I guess most servers reply text/plain with 7-bit ASCII encoding. > > The program is meant to act as a feed for a database containing some > mail addresses, and does some action there (delete mail addresses > which don't exist, put a note on mail addresses where the mailbox is > full, and the like). But the most difficult job would be to determine > which failure is described where and how, in each reply.... That's true, since there are probably as many different replies possible as mail servers exist. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be