#16655 [Com]: Function for checking if email-adress is valid

From: Date: Mon, 10 May 2004 18:53:03 +0000
Subject: #16655 [Com]: Function for checking if email-adress is valid
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29059@lists.php.net to get a copy of this message
ID: 16655 Comment by: raman at e11online dot com Reported By: metz at speedpartner dot de Status: Closed Bug Type: PEAR related Operating System: Linux PHP Version: 4.1.2 New Comment: How can i check Previous Comments: ------------------------------------------------------------------------ [2002-04-18 07:19:43] cox@php.net I read some time ago a study done by a consultancy and the amount of domains without MX was terrible high (~20% of the domains audited). That's why I'm saying that. Of course all the "easy" e-mail verifications one can do, is only the half part as you can't check if the user really exists/is enabled or if the mail server is really there and accepting the emails for that domain (but we all knows that). ------------------------------------------------------------------------ [2002-04-18 05:24:47] hholzgra@php.net a public mail server for a domain that does operate *without* MX records does not deserve to be taken serious IMHO how do you implement fallback servers without MX records? and even if you say and A or CNAME record is enough, how do you check that the machine with that ip does really accept mail? by probing the SMTP port all the time? hartmut@www.six.de might be a legal address by the CNAME rule, but i can assure you that mail to that address will never reach me so no MX -> no mail makes sense IMHO ------------------------------------------------------------------------ [2002-04-17 20:32:40] cox@php.net It's wrong to only check the MX address as many domains don't have it (it's not a requirement). The CNAME has to be checked too. ------------------------------------------------------------------------ [2002-04-17 16:36:33] richard@php.net There's already Mail/RFC822.php ------------------------------------------------------------------------ [2002-04-17 16:19:24] mfischer@php.net This belongs into PEAR (if at all). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16655 -- Edit this bug report at http://bugs.php.net/?id=16655&edit=1

« previous php.pear.dev (#29059) next »