getmxrr
getmxrr
(PHP 4, PHP 5, PHP 7)
getmxrr — Get MX records corresponding to a given Internet host name
Description
bool getmxrr ( string $hostname , array &$mxhosts [, array &$weight ] )
Searches DNS for MX records corresponding to hostname
.
Parameters
-
hostname
-
The Internet host name.
-
mxhosts
-
A list of the MX records found is placed into the