Retrieving the mail server host name from the DNS !
Posted on 2002-04-27
SDK : C++ Builder 5
I want to retrieve the ip address of a mail server from the DNS.
When you have such address : firstname.lastname@example.org
I want to know the ip address of the mail server aol.com
and not the ip address of their Web site.
When i use the GetHostByName(), this function only returns me the ip address of the Web server.
Could you give a piece of code ...