it's difficult to develope your own:
you can buy a cheap component here..(50$)
But if you want to do it yourself then you will need to do an nslookup .. use aspexec from
to execute
a shell.. or use the wsh shell object..
also an easy and practical way you can use xmlhttp to post an fetch such data from
.. when you get
the data in you variable search for the info after the validation results word:
Validation results
Success <----
canonical address: <sakr_m@hotmail.com>
MX records preference exchange IP address (if included)
5 mx08.hotmail.com [64.4.49.7]
5 mx07.hotmail.com [65.54.236.7]
5 mx06.hotmail.com [64.4.55.7]
5 mx05.hotmail.com [64.4.56.199]
5 mx04.hotmail.com [64.4.56.135]
....
How do I read the contents of a remote web page?
You can include static txt and HTML files from remote servers by using a component (such as AspHTTP
(
ASPTear (
or VB's built in InetCtrls) to parse the remote URL's content.
You can also try this method out, it uses the MSXML objects which are installed with Windows 2000 (or
you can download them here (
for other operating systems):
<%
url = "
set xmlhttp = server.CreateObject("Microsoft.XMLHTTP"
xmlhttp.open "GET", url, false
xmlhttp.send ""
Response.write xmlhttp.responseText
%>