Get MX records corresponding to a given Internet host name
<?php getmxrr("www.java2s.com",$mxhosts); print_r($mxhosts); ?>