PHP | dns_get_mx() Function
The dns_get_mx() function is an inbuilt function in PHP which returns MX records for the specified internet host name. This function is an alias of the getmxrr() function. Syntax: bool dns_get_mx( $host, $mxhosts, $weight ); Parameter: This function accepts three parameters as mentioned above and de