View Single Post
  #3  
Old February 2nd 09, 04:52 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to change recipients of a received message?

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?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"ryotyankou" u48591@uwe wrote in message news:910cacbf18233@uwe...
My is ATL/VC2005. OnNewEmail to dispatch the event.
While OnNewEmail function were invoked, I tried the two methods:
1. ");
2. Get IMessage interface, then call SetProps() function with Tag
PR_DISPLAY_TO_A, return value's S_OK. But when i open the message, nothing
were changed.
What should i do then?



Ads