K
kyosuke
My purpose is to get the sender address in ItemSend event, and i have tried
the following
1. Use the SenderName property of the MailItem. It gives me an empty string,
it may because the mail is not sent yet.
2. Use the Session to get the CurrentUser by the following code
Application.ActiveInspector.Session.CurrentUser.Address
This one is correct only if i am sending the email using the default email
account. However, if i can the account to send the email, this will still
return the default email address.
Any other solution that i can get the selected email address to sent email?
My outlook client have 3 to 4 email account set.
the following
1. Use the SenderName property of the MailItem. It gives me an empty string,
it may because the mail is not sent yet.
2. Use the Session to get the CurrentUser by the following code
Application.ActiveInspector.Session.CurrentUser.Address
This one is correct only if i am sending the email using the default email
account. However, if i can the account to send the email, this will still
return the default email address.
Any other solution that i can get the selected email address to sent email?
My outlook client have 3 to 4 email account set.