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
|
|||
|
|||
Retriving a Failed Recipient' email address
I am just wondering if there is a small VBA routine for Outlook 2003 that
will help me to automatically "reterive" (saving in it on an EXCEL file) a Failed Recipient' email address. The bounced emails will be "manually" re-located on a separate Inbox' folder. Thank you. |
Ads |
#2
|
|||
|
|||
Retriving a Failed Recipient' email address
Usually the body of the NDR will have the original target address, but the
format of that or even if it's there at all depends totally on the server returning the NDR. So it's not constant or even very predictable. You'd have to aggregate a bunch of NDR's to see what you get from them. Some may be "official" NDR's which would be MessageClass == "REPORT.IPM.Note.NDR. Other cases will be just standard email MessageClass == "IPM.Note". So you can't even rely on any ReportItem properties being there. The From address of the sender of the NDR won't help because it comes from the server which has its own address it uses for NDR's. So about all you can do is try to come up with some algorithm to extract the many possible ways the address is there or use manual intervention. -- 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 "Art" wrote in message ... I am just wondering if there is a small VBA routine for Outlook 2003 that will help me to automatically "reterive" (saving in it on an EXCEL file) a Failed Recipient' email address. The bounced emails will be "manually" re-located on a separate Inbox' folder. Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How Do I Default Display Both Email Address and Recipient NameAutomatically In Outlook 2007? | Fletch | Outlook - Using Contacts | 7 | April 14th 08 08:30 PM |
trying to get recipient email address | TMJNSK | Outlook and VBA | 0 | October 15th 07 07:48 PM |
How to retrieve an email address from an appointment recipient? | Marcus | Outlook - Using Forms | 1 | April 4th 07 01:56 PM |
Outlook 2000 Faxes not queuing - The Microsoft Fax transport failed to deliver the message to the recipient. | SteveMc | Outlook - General Queries | 3 | December 19th 06 09:04 PM |
Help! outlook keeps deleting recipient email address... | networm | Outlook - General Queries | 2 | March 8th 06 08:05 AM |