tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Eaves <...@eaves.org>
Subject Re: How to validate email address in JSP by using javax.mail?
Date Thu, 10 Oct 2002 06:21:55 GMT
This isn't really a Tomcat question, but more of a general
protocol question.

The long answer is that you should look at mailing list
software and see how they do it using acknowledgements.
A good example of this is ezmlm which uses qmail as
it's transport.

Of course, you'll have to hold onto the message they
wanted to send until they are validated.  Also, have a
look at places like slashdot (www.slashdot.org) to see
how they deal with the anonymous user problem.

The short answer is, send an email to that address with
a magic number in it.  Tell the user to go somewhere and
use the magic number which will validate them.

Exactly how is left as an exercise to the reader.  There
really is a very large body of established code on this,
so searching Google is probably a good start.


Cheers,
	-- jon

Kunal Shah wrote:
> suppose there is an domain xyz.com accepting mails for its
> user
> say there are a, b and c users and administrator which will
> recieve mails for unresolve members
> 
> i am sending one mail at dummy@xyz.com. dummy is not valid
> mailbox still the mesg will be delivered to administrator of
> xyz.com. so there will be not send fail exception.
> 
> what should be done in this case ?
> 
> --kunal
> 
> 
>>-----Original Message-----
>>From: Turner, John [mailto:JTurner@AAS.com]
>>Sent: Wednesday, October 09, 2002 7:33 PM
>>To: 'Tomcat Users List'
>>Subject: RE: How to validate email address in JSP
>>by using javax.mail?
>>

[ big snip ]

-- 
Jon Eaves <jon@eaves.org>
http://www.eaves.org/jon/


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message