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