O
Oliver Giesen
Hi all!
I need to check the value of a mail item's SentOnBehalfOfName (aka
"From") before it gets sent (e.g. from BeforeCheckNames or ItemSend). I
am already using Redemption to circumvent the security prompts but the
problem seems to be that at the moment when I perform the check Outlook
has not yet persisted the value anywhere that Redemption can access it.
Accessing it without Redemption works but gives me the security prompt.
I already tried reading the value directly from the text box using
WM_GETTEXT but even that only returns an empty string if the sender has
already been resolved (at least in OL2003 - haven't checked the earlier
versions yet). Needless to say that the underlying MAPI properties
(i.e. PR_SENT_REPRESENTING_*) have not been set at that stage either.
Any other ideas besides sending mouse click messages to the security
prompt?
Cheers,
Oliver
I need to check the value of a mail item's SentOnBehalfOfName (aka
"From") before it gets sent (e.g. from BeforeCheckNames or ItemSend). I
am already using Redemption to circumvent the security prompts but the
problem seems to be that at the moment when I perform the check Outlook
has not yet persisted the value anywhere that Redemption can access it.
Accessing it without Redemption works but gives me the security prompt.
I already tried reading the value directly from the text box using
WM_GETTEXT but even that only returns an empty string if the sender has
already been resolved (at least in OL2003 - haven't checked the earlier
versions yet). Needless to say that the underlying MAPI properties
(i.e. PR_SENT_REPRESENTING_*) have not been set at that stage either.
Any other ideas besides sending mouse click messages to the security
prompt?
Cheers,
Oliver