c# - How to get email address based on inbox click in outlook addin? -
i creating outlook addin using visual studio 2015.
i have config 2 email address in outlook 2016.now when click on specific inbox want email address of user belongs inbox.
so trying figure out owner of particular store? keep in mind stores (e.g. pst) not have intrinsic user associated them - standalone pst or pst multiple pop3/smtp accounts delivering store.
you can loop through application.session.accounts
collection , check account.deliverystore
property (compare store entry ids using namespace.compareentryids
).
wiki
Comments
Post a Comment