Information générale
Catégorie:
Applications Internet
>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement