Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Undocumented Function? How to know for an olMailItem if it has been "replied" or "forwarded" (http://www.outlookbanter.com/outlook-vba/7454-undocumented-function-how-know-olmailitem.html)

9online February 15th 06 12:30 PM

Undocumented Function? How to know for an olMailItem if it has been "replied" or "forwarded"
 
Dear all
I would like to check from my Inbox all email that as been already replied
or forwarded
This status is indicated in Outlook appication with a special Incon
Purple Left Arrow for replied
Blue Right Arrow for forwarded.
How can I get this status of an olEmailItem, within a VB function?

Thanks for your help





Ken Slovak - [MVP - Outlook] February 15th 06 03:39 PM

Undocumented Function? How to know for an olMailItem if it has been "replied" or "forwarded"
 
The Outlook object model doesn't let you find that. You would need to use a
different API such as CDO 1.21 or Extended MAPI or Redemption
(www.dimastr.com/redemption). Neither CDO or Extended MAPI can be used from
..NET languages.

The property you would read would be PR_LAST_VERB_EXECUTED (0x10810003).

EXCHIVERB_REPLYTOSENDER = 102
EXCHIVERB_REPLYTOALL = 103
EXCHIVERB_FORWARD = 104

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"9online" wrote in message
...
Dear all
I would like to check from my Inbox all email that as been already replied
or forwarded
This status is indicated in Outlook appication with a special Incon
Purple Left Arrow for replied
Blue Right Arrow for forwarded.
How can I get this status of an olEmailItem, within a VB function?

Thanks for your help







All times are GMT +1. The time now is 05:27 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-2006 OutlookBanter.com