MxRec class

An MxRec object contains mail server information returned from DNS-level validation. The information usually comes from MX records but may be synthesized if the email address contains a domain literal or a domain that only has an A record. You can ensure the contents only come from MX records by adding hexVeOptionRequireMx to Connection.Options.


Addr Long IP address for the mail exchange server, if available. An MX record does not contain an IP address--only the name of the server and its preference. MX queries often return the IP for the server as an additional A record, however.
Exchange String Mail exchange server for the domain
Preference Long Number indicating this server's preference relative to others returned (lower is better). The MxRec objects in the Connection.MxRecs collection are sorted in order of increasing preference number.
Show site map

contact us    privacy policy    legal information