View Single Post
  #7  
Old March 4th 09, 01:52 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default How to specify the "current entry id" to GetItemFromID?

No, i don't think so, i'm sure it is a MailItem, because it is my test e-mail
(It is the case, my outlook have two accounts, A and B, i Use A send an
encrypted e-mail to B, and receive this e-mail, then the plugin will enter
OnNewMailEx(BSTR entryId) function.).

I got it, i can use GetIDsOfNames to get a class property of this income item,
but i can't get MailItem, am i right?

Dmitry Streblechenko wrote:
That means the message is not a MailItem. Could be ReportItem, MeetingItem,
etc.
The first parameter in GetIDsOfNames is the name of the property, e.g.
"Class".

The result of run script is: The MailItem property page is shown. I have
no

[quoted text clipped - 50 lines]
the
_MailItemPtr even it is encrypted Mail item??


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200903/1

Ads