View Single Post
  #5  
Old August 8th 06, 01:57 PM posted to microsoft.public.outlook.program_addins
Oliver Giesen
external usenet poster
 
Posts: 7
Default Is ItemSend really too late to set SentOnBehalfOfName ?

Dmitry Streblechenko wrote:

It could be that Outlook resolves the SentOnBehalfOfName property to
the relevant PR_SENT_REPRESENTING_xxx properties before ItemSend is
called. Did you try to set PR_SENT_REPRESENTING_xxx properties
explicitly using MAPI?


I didn't so far but tried just now and it works great. I used
Redemption's ISafeMailItem's Fields collection to set
PR_SENT_REPRESENTING_ENTRYID and it works like a charm...

Thanks a bunch once more!


BTW: the same phenomenon appears when using the BeforeCheckNames
event... strange indeed. I mean, what's the point of the event when I
cannot adjust the recipients?

Cheers,

Oliver
Ads