Display the text box

dns_get_mx()

« dns_check_record | dns_get_record »
<?php
$bool 
dns_get_mx (
    
// string $hostname
    
// array &$mxhosts
    
  // [array &$weight]
);
?>
Result
$mxhosts = [
]
$bool = false
Examples
#1 dns_get_mx  ("www.example.com",
 
$mxhosts)
#2 dns_get_mx  ("domainmx.net",
 
$mxhosts)
See also
getmxrr