It looks like you can't. A bounce message really takes the shape of an email coming back to your inbox and some mail servers may not necessarily even send the bounce messages. There will not be a common expected format if messages do make it to you. You would have to set up email bounce messages at your mail server, determine a format to predict, and write something to crawl your inbox for these messages. This has some code on looking through folders in Outlook. Outlook.MailItem appears to be the object for an email at that thread. Whatever. It's too much work. There is a reason that no one does this.
No comments:
Post a Comment