note 11625 added to mail
| From: | jules at s dot chek dot com | Date: | Wed, 28 Feb 2001 03:41:41 +0000 |
| Subject: | note 11625 added to mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11649@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.
http://www.php.net/manual/en/function.mail.php