A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Undeliverable messages



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 20th 09, 09:36 PM posted to microsoft.public.outlook.program_addins
Craig Buchanan[_2_]
external usenet poster
 
Posts: 12
Default Undeliverable messages

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  
Old January 20th 09, 10:03 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Undeliverable messages

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  
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




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:24 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.