Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Smtp server name detection

Status
Not open for further replies.

joco2

Programmer
Oct 12, 2003
4
US
Ok - all you Network wizards..
How can I detect Smtp name on a Win2K box without having to burden the user with finding this in order to send a msg? Is there a magic api or entry in the windows registry That does not rely on a certain product?
Thanks in advance
joco2
 
you can implement your own SMTP client. SMTP is a TCP based protocol. You could find the structure of SMTP in So all you need, is to learn how to use TCP and to read the specification of SMTP.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
I have my own Smtp Client - I just need to know what name to give it. I am asking the user enter his own e-mail Address so I have the domain name the client computer is in. I've experimented with ::DsnQuery for MX recs but don't get the right results.
joco2
 
please reformulate your question in short and well formed sentences, I do not understand what is your problem.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
The software I am writing will go to a site where they will install it. After installation the software presents the user with a wizard. As part of this process the software to generates a lock code for the computer. This information must be e-mailed back with a request for licenses. I want to make this process as easy as possible. Many times the user does'nt know the name of the smtp server unless they know how to go hunting through e-mail setup screens.
joco2
 
the only way is to check configuration files, or registry configuration of the existent mail clients.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top