General information
Category:
Internet applications
>>Is there a way to determine the SMTP server programmatically?
>>
>>TIA,
>>
>>Alex
>
>The SMTP server has to be setup manually in your program. There is no network autodiscovery of the SMTP Server as there is with DNS and Gateways.
>
>Most network admins shouldn't have a problem setting this up for you in your applications.
Thanks to a tip by Anatoliy Mogylevets I found out the following, which I pass in case it's useful:
1) HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Default Mail Account contains the internal name of the default mail account.
2) HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts\xxxxx\SMTP Server contains the SMTP Server name, where xxxxx is the internal name found in step 1
Alex
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only