An SMTP server is a service runnning on a machine that has an IP address and
usually a domain name.
So, to get the name of the SMTP server, you must first know the IP Address
or domainname of the machine it is running on, and the port on which the SMTP
service is listening (usually port 25).
OK. Then you need to search for some code that will look up an "MX Record".
That's the DNS Entry that specifies the mail server(s) for a given domain.
Peter
Hi all
How can I find programmatically name of a SMTP server ???
thanks in advance
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.