is there way to get 'from' address(sender) form outlook when multiple mailboxes are configured using add-in express.
i want to capture sender address before sending the mail inside item_send event . following property always give default email address not the selected one.
mail.SendUsingAccount.SmtpAddress
I am using outlook 2016 64 bit version
Sure, use the
Namespace.Accounts
collection and read theAccount.SmtpAddress
property.