I try to figure out the response time for messages. How do I know which mail
item the current mail item is replied? I am trying to save message meta data
into the database.
To make it more complex, can I access these properties of a mail item after
the same item be forwarded / BCC to a service mailbox? I need to track all
inbound/outbound messages for certain mailboxes. One option is to forward or
BCC all messages to a service mailbox and run a program to process those
messages to save meta data to a database.
Bin
Firstly, you can read the PR_LAST_VERB_EXECUTION_TIME (look at messages with
MFCMAPI or OutlookSpy to see what is available).
Secondly, when you reply to /forward a message, Outlook takes the value of
PR_CONVERSATION_INDEX from the parent message and adds 5 bytes to it. You
can use that to figure out the relationships betweeen the messages in a
folder and the replies/forwards in the Sent Items folder.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
>I try to figure out the response time for messages. How do I know which
>mail
[quoted text clipped - 26 lines]
>> > How can I identify if a mail item is a response to the other items by
>> > code?
Sue Mosher [MVP-Outlook] - 28 Oct 2007 01:34 GMT
I've posted a little VBA sample at http://www.outlookcode.com/codedetail.aspx?id=1714 to demonstrate how to use the MailItem.ConversationIndex to locate the original message to which a reply has been created.

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
> Firstly, you can read the PR_LAST_VERB_EXECUTION_TIME (look at messages with
> MFCMAPI or OutlookSpy to see what is available).
[quoted text clipped - 38 lines]
>>> > How can I identify if a mail item is a response to the other items by
>>> > code?