> The better way to validate users's EMAIL addresses would be to use the verify
> (VRFY) command already present in the SMTP protocol used to transport Internet
> email.  The protocol is pretty simple, and is outlined in RFC 821.  It's
probably
> a 50-liner to do the remote validation using sockets, given an email address
as
> an argument.

Yep, I did a version in PHP3 that works a bit better than VRFY because VRFY
is often disabled. Instead I actually try to send email to the user. If the
RCPT To: returns a 250 response the email is valid, if not, then it isn't.

<http://px.sklar.com/code-pretty.html?code_id=71>

Converting this function to java probably wouldn't be hard.

-jon

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to