PHP Manual

PHP function getmxrr()

2019-09-11T08:04:03.000Z

Obsah článku

Availability in PHP 4.0

Get MX records corresponding to a given Internet host name

Parameters

Parameter Data type Default value Note
$hostname string not The Internet host name.
$mxhosts array not A list of the MX records found is placed into the array mxhosts.
$weight array null

Return values

bool

true if any records are found; returns false if no records
were found or if an error occurred.

Other resources

Official getmxrr documentation

Jan Barášek   Více o autorovi

Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.

Rád vám pomůžu:

Související články

1.
40.

V jiných jazycích

Status:
All systems normal.
2025