I have created the following...
Outlook.MailItem oMail;
oMail = Inspector.CurrentItem;
Outlook.NameSpace session = oMail.Session;
Outlook.Accounts accounts = session.Accounts;
When looping through accounts, I get the accounts which has been added physically in Outlook, but not the ones added through the “Open these addition mailboxes” in Account Settings -> Change -> More Settings -> Advanced
How can I access those and get the account information from that so I can use it in my, oMail.SendUsingAccount = account
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…