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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Undocumented Function? How to know for an olMailItem if it has been "replied" or "forwarded"



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 15th 06, 12:30 PM posted to microsoft.public.outlook.program_vba
9online
external usenet poster
 
Posts: 1
Default 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




Ads
  #2  
Old February 15th 06, 03:39 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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





 




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
Only when i forward emails with attachements "550 relaying mail to" [domain] "is not allowed" Alchemy Outlook - General Queries 4 March 8th 06 11:47 PM
"sent" time stamp shown in the mail is "none" Elan Outlook - General Queries 0 March 7th 06 05:40 AM
In Table View can I group by "Date" instead of "Start" KLM Outlook - Calandaring 1 January 11th 06 04:52 AM
Don't use "X" in outlook as delete icon, it looks like "close" HuskieChem Outlook - Installation 1 January 9th 06 02:02 AM


All times are GMT +1. The time now is 05:19 AM.


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