FUNC :: mixed getmxrr_win ( string hostname, array &mxhosts )

Returns TRUE if any records are found, FALSE if not. This function getmxrr_win() is the Windows NT version for function getmxrr(). Example:

$mx = FUNC::is_win() ? FUNC::getmxrr_win('php.net', $rr) : getmxrr('php.net', $rr);

if($mx) print_r($rr);
else echo 'MX records not found.';

[ Comments ] Last update: Wednesday, June 28, 2006