Reputation: 11399
I would like to read the mail server settings from Microsoft Outlook 2010.
Outlook has a mail account configured that uses a Microsoft Exchange server.
When I click "File", "Information", then "Account settings" Account" and then "Edit", I see the name of the exchange server and the user's login name (which is his email address).
I have also been told the password.
Additionally, a proxy is being used on this network.
Now I would like to configure a custom built mail program in such a way that it works like Microsoft Outlook 2010.
I'm using all parameters that I could find and which I have been told, but I don't see the SMTP or POP settings in Outlook 2010.
These are the settings that I can see within Outlook 2010:
How could I get the other settings like SMTP and POP settings? Or am I totally wrong somewhere in my thinking?
Thank you.
Upvotes: 0
Views: 503
Reputation: 66276
Firstly, on the screenshot you have an Exchange account, not POP3/SMTP, so obviously you cannot extract any POP3/SMTP settings from there.
Account settings for all account types (Exchange, POP3/SMTP, IMAP4/SMTP, etc.) are stored in the profile sections accessible through Extended MAPI (C++ or Delphi), namely through the IOlkAccountManager interface. You can play with that interface in OutlookSpy (click IOlkAccountManager button). Profile sections are accessible directly through the registry, but the format is not documented.
If using Redemption is an option (I am its author), it exposes all Outlook accounts and their settings through the RDOAccounts and RDOAccount objects.
Upvotes: 1