![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Is parsing the subject line for the word 'Undeliverable' the most robust
mechanism for identifying an undeliverable message? Is there not a standardized message header that deals with this? I need a way to identify undeliverable messages that will not be affected by localization. Thoughts appreciated. Craig Buchanan |
Ads |
#2
|
|||
|
|||
![]()
Brute force is the only reliable method.
Each server that returns an NDR does it differently with different text and some use a true ReportItem object but most use a MailItem. So you can't rely on a ReportItem for an NDR or any specific wording. What you get back from Exchange is different than what you get back from MDaemon, for example. In my tests for an NDR filter that sends the NDR's to a SQL server database I ended up with about a dozen criteria for just undeliverable mail. That didn't even cover emails rejected due to attachments or content or other criteria, which often triggered different messages. Even my brute force tests only trapped NDR's in English. I didn't add equivalents for any other languages. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Craig Buchanan" wrote in message ... Is parsing the subject line for the word 'Undeliverable' the most robust mechanism for identifying an undeliverable message? Is there not a standardized message header that deals with this? I need a way to identify undeliverable messages that will not be affected by localization. Thoughts appreciated. Craig Buchanan |
#3
|
|||
|
|||
![]()
Ken-
Seems odd that this type of information isn't in the message's header... This article (http://www.codeproject.com/KB/tips/c...ress_list.aspx) has some interesting ideas, even though they probably won't work w/ Outlook. Craig "Ken Slovak - [MVP - Outlook]" wrote in message ... Brute force is the only reliable method. Each server that returns an NDR does it differently with different text and some use a true ReportItem object but most use a MailItem. So you can't rely on a ReportItem for an NDR or any specific wording. What you get back from Exchange is different than what you get back from MDaemon, for example. In my tests for an NDR filter that sends the NDR's to a SQL server database I ended up with about a dozen criteria for just undeliverable mail. That didn't even cover emails rejected due to attachments or content or other criteria, which often triggered different messages. Even my brute force tests only trapped NDR's in English. I didn't add equivalents for any other languages. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Craig Buchanan" wrote in message ... Is parsing the subject line for the word 'Undeliverable' the most robust mechanism for identifying an undeliverable message? Is there not a standardized message header that deals with this? I need a way to identify undeliverable messages that will not be affected by localization. Thoughts appreciated. Craig Buchanan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I get invalid address list from undeliverable messages? | JAMES E. | Outlook - Using Contacts | 2 | July 10th 08 01:45 PM |
Undeliverable messages | Terry Bennett | Outlook - General Queries | 5 | November 25th 07 12:56 AM |
Returned & Undeliverable messages | Fivee | Outlook Express | 8 | June 16th 07 01:39 PM |
Undeliverable messages | Alan C | Outlook - General Queries | 5 | December 31st 06 07:08 AM |
Receive undeliverable email messages when sending calendar appoint | Cliff | Outlook - Calandaring | 6 | July 11th 06 05:25 PM |