View Single Post
  #5  
Old February 3rd 09, 10:10 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default How to change recipients of a received message?

Hi, Dmitry, I checked my code and found that my process is not cogitate(Use
OnItemAdd, not OnNewMailEx), if the MailItem's encrypted, the add-in will do
nothing. Can i convert the entryid(OnNewEmailEx) to MailItem? How could i get
IMessage from entryid? Thanks a lot.

Dmitry Streblechenko wrote:
PR_DISPLAY_TO is not settable.
NewMail event (unlike NewMailEx) does not pass the new message as a
parameter. How do you retrieve the new message?
Do you save the message?

My is ATL/VC2005. OnNewEmail to dispatch the event.
While OnNewEmail function were invoked, I tried the two methods:

[quoted text clipped - 3 lines]
were changed.
What should i do then?


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

Ads