public static void GetAccountForEmailAddress(Outlook.Application application) { Outlook.Accounts accounts = application.Session.Accounts; foreach (Outlook.Account account in accounts) { // I want to get the outgoing smtp server address and its port number. } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)