How to get configured mail id from outlook?

studio

#1

How to get configured mail id from outlook which is already configured when more than one mailid configured.


#2

Hey @vijayvvk11

Have you Tried this:?

Outlook.Application Application = new Outlook.Application();
Outlook.Accounts accounts = Application.Session.Accounts;
foreach (Outlook.Account account in accounts)
    {
        Console.WriteLine(account.DisplayName);
    }

#3

not able to map the same in UIpath