February 2013
Intermediate to advanced
538 pages
20h 55m
English
getmxrr
bool getmxrr(stringhost, array &hosts[, array &weights])
Searches DNS for all Mail Exchanger (MX) records for
host. The results are put into the array
hosts. If given, the weights for each MX
record are put into weights. Returns
true if any records are found and
false if none are found.
Read now
Unlock full access