RE: [PHP] Re: email validation (no regex)

From: Date: Wed, 21 Sep 2005 19:30:26 +0000
Subject: RE: [PHP] Re: email validation (no regex)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-222913@lists.php.net to get a copy of this message
but you could do what you want to do. however, it's going to be painful if you want it to match the rfc spec...
Really? Why does it need to be painful? I just need to do a 'EHLO', 'Mail From:' and 'RCPT to:' and 'QUIT'. It's not going to actually send an email. Seems simple to me. Maybe there's something else in the spec that I don't see?
Some mail servers can be configured to not reject the email until the end of DATA. I know you can do this in postfix. Although if the user is invalid, why you'd wait I don't know, but it is possible. -philip

« previous php.general (#222913) next »