Search Results
getmxrr (PHP 4, PHP 5, PHP 7, PHP 8) getmxrr — Get MX records corresponding to a given Internet host name
Definition and Usage The getmxrr () function returns the MX records for the specified internet host name. Syntax getmxrr (host, mxhosts, weight)
- Required. Specifies the host name
La fonction getmxrr() est un outil hérité pour récupérer les enregistrements MX dans les anciennes versions de PHP. En comprenant sa syntaxe et son comportement, vous pouvez maintenir la compatibilité avec d'anciennes bases de code.
Cette fonction ne doit pas être utilisée à des fin de vérification d'adresses. Seuls les serveurs de mails trouvés dans les enregistrements DNS sont retournés.
Definition and Usage The getmxrr () function returns the MX records for the specified internet host name.
This function should not be used for the purposes of address verification. Only the mailexchangers found in DNS are returned, however, according to » RFC 2821 when no mail exchangers are listed, hostname itself should be used as the only mail exchanger with a priority of 0. Note:
The PHP Network getmxrr() function is used to retrieve the Mail Exchange (MX) records for a given domain name. It searches the DNS for MX records and stores the results in an array.
