MxLookup Documentation
Objects
MxLookup
The main object used to perform MX lookups.
Properties
NameServer (Read/Write)
Determines the IP address of the DNS server which will be queried for MX information. A dotted IP address must be used (e.g. 128.0.0.1).
Must be set before FindHosts or FindPreferred can be called.
Methods
FindHosts( Domain As String) As Hosts
Returns a Hosts object containing a collection of mail servers for the specified domain, as returned by the DNS server.
FindPreferred( DomainName As String) As String
Shortcut version of FindHosts which returns the name of the mail host with the lowest preference.
Host
Contains basic DNS information about a computer (name, IP address etc).
Properties
Name (Read only)
Host name of the mail server (e.g. mail.myserver.com).
IpAddress (Read only)
Dotted IP address of the mail server (e.g. 127.0.0.1)
Preference (Read only)
Preference number - lowest indicates highest priority.
Hosts
Collection of Host objects. Exposes the standard collection methods/properties allowing it to be used by Visual Basic.
|
|