note 11625 deleted from function.mail by jimw

From: Date: Wed, 31 Oct 2001 23:13:21 +0000
Subject: note 11625 deleted from function.mail by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19898@lists.php.net to get a copy of this message
Using getmxrr() for validating email addresses is not a good idea. The RFCs do not state that all domains receiving mail must have an MX record in the DNS. An "A" record will suffice if the one host handles all services (ie HTTP, SMTP, etc) for a given domain, but will fail the getmxrr() email validation test.

« previous php.notes (#19898) next »