Well, not to be a spoilsport, but here's a transcript of an SMTP
session:
220 vmx02.brainstorm.net ESMTP Sendmail 8.9.1/8.7.3; Tue, 17 Aug 1999
14:45:55 -0700 (PDT)
HELO korobra.com
250 vmx02.brainstorm.net Hello [205.178.23.157], pleased to meet you
MAIL FROM: [EMAIL PROTECTED]
250 [EMAIL PROTECTED] Sender ok
RCPT TO: [EMAIL PROTECTED]
250 [EMAIL PROTECTED] Recipient ok
DATA
354 Enter mail, end with "." on a line by itself
Date: Tue, 17 Aug 1999 14:34:06 PDT
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Test validity of [EMAIL PROTECTED]
Testing
.
250 OAA25823 Message accepted for delivery
QUIT
221 vmx02.brainstorm.net closing connection
nslookup says there is no blatfoop.com, so the 250 you get back just
means that the address format is OK (I guess), not that there is
actually a mailbox for the address given.
Rod McChesney, Korobra
jon * wrote:
>
> > 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
___________________________________________________________________________
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