:GetMailExchange()


 

Class

     aprDNS()

 

Syntax

     :GetMailExchange(cHost) -> cMXRecord

 

Parameters

 

cHost

Host name to get Mail Exchange (MX) record for.

 

Return

Returns MX record information for the specified Host name

 

Description

The :GetMailExchange() method returns MX record information for the specified domain.

This information, if it is provided, identifies a server responsible for processing mail for the given domain.

 

See Also

:GetHostByAddress(), :GetHostByName(), :GetHostName(), :GetHostAddress(), :GetHostInfo(), :GetRecord(), :GetAllRecords(), :GetHostServices()