Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine the SMTP server programmatically
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00844632
Message ID:
00844740
Vues:
14
>>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
Fil
Voir

Click here to load this message in the networking platform