J
Joel Finkel
Folks,
I want to be able to check outbound mail messages to see if they are from a specific email address. If they are, I want to modify this address.
The clearest way to do this seems to be to add code to the Application_ItemSend event.
However, it appears that the following MAPI properties values are not even set at this point:
PR_SENDER_EMAIL_ADDRESS (&H0C1F001E)
PR_SENT_REPRESENTING_EMAIL_ADDRESS (&H0065001E)
So, I am wondering exactly when these values DO get set, and how is it possible to make the checks and modifications I want to make.
Thanks in advance. Thanks also to Dmitry, without whose Oulook Spy and Redemption code none of this work would even be possible.
Joel Finkel
(e-mail address removed)
Okay, why would I want to do this? My email changed, but I still receive mail sent to my old address (it is fowarded by the folks who puchased my domain). If I simply Reply to it, it retains my old email address. I do not want to have to remember to change it. It comes in through its own Outlook account.
I want to be able to check outbound mail messages to see if they are from a specific email address. If they are, I want to modify this address.
The clearest way to do this seems to be to add code to the Application_ItemSend event.
However, it appears that the following MAPI properties values are not even set at this point:
PR_SENDER_EMAIL_ADDRESS (&H0C1F001E)
PR_SENT_REPRESENTING_EMAIL_ADDRESS (&H0065001E)
So, I am wondering exactly when these values DO get set, and how is it possible to make the checks and modifications I want to make.
Thanks in advance. Thanks also to Dmitry, without whose Oulook Spy and Redemption code none of this work would even be possible.
Joel Finkel
(e-mail address removed)
Okay, why would I want to do this? My email changed, but I still receive mail sent to my old address (it is fowarded by the folks who puchased my domain). If I simply Reply to it, it retains my old email address. I do not want to have to remember to change it. It comes in through its own Outlook account.