Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if a Smtp exists.
Message
De
11/05/2001 10:53:27
Phillip Perkins
Technology Consulting, Inc.
Louisville, Kentucky, États-Unis
 
 
À
08/05/2001 10:12:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00504688
Message ID:
00506207
Vues:
21
>I need something that will help me determine automatically what type of smtp a client has. I have an application but i can not make it a requirement for teh client to purchase ms office in order to use that particular capability. Any ideas by anyone?

Usually, in any situation, the user has to type in their SMTP address unless they already have a mail client that stores that information either in the registry or in a separate file. I just did a search in my registry and found an entry for "SMTP Server" under HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts\00000001

I also have Netscape Navigator and found an entry under HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\biff\users\\servers
Here I found all the servers that I have ever put it for NNTP, POP, and SMTP.

The easiest way that I know is to just have the user (or an administrator) enter the SMTP address in a setup screen or something. Then when you are trying to connect to that server, if you get any connection errors, you could just pop up your setup screen again and ask for another SMTP account.

Phillip Perkins
"D'OH!" --Homer Simpson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform