>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