RDOReportItem object |
RDOReportItem represents a
mail-delivery report in an Inbox (mail) folder. The RDOReportItem object is
similar to a
RDOMail object (from which it is derived), and it
contains a report (usually the non-delivery report) or error message from the
mail transport system.
RDOReportItem is derived from the RDOMail object and as such inherits all the properties, methods and events implemented by the RDOMail object.
Returned by:
Everywhere RDOMail object is normally returned (RDOSession.GetMessageFromID, RDOFolder.Items, etc), RDOTaskItem will be returned if the message class is "REPORT.IPM.*".
The example below restricts the Inbox contents table based on the message class to return only report items. It then loops through these items and displays the report text for each item.
'remove these lines if
Redemption (SafeOutlook) type library
|
Derived from: RDOMailIn addition to all the properties specific to RDONoteItem, it also implements all properties, methods and events of the RDOMail object, from which it is derived. |
||
|
||
Properties |
||
|
||
ReportText |
Returns a string representing the report text as displayed by Outlook. Note that there is no single MAPI property corresponding to ReportText; it is dynamically generated based on various MAPI properties from the message and its recipients table. |
|
|
||
Methods |
||
|
||
FindOriginalItem |
Returns the original item from the Sent Items folder that generated the report. FindOriginalItem will retrieve the value of the PR_ORIGINAL_SEARCH_KEY MAPI property from the report and attempt to find the item with the same value of the PR_SEARCH_KEY property in the Sent Items folders. If PR_ORIGINAL_SEARCH_KEY is not available or if the item cannot be found, an error will be returned. |
on error resume next |
|
||
|