View Single Post
  #3  
Old January 21st 09, 01:30 PM posted to microsoft.public.outlook.program_addins
Craig Buchanan[_2_]
external usenet poster
 
Posts: 12
Default Undeliverable messages

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




Ads