Of course you should check the syntax of the address 
before even opening a session to a mail server, but that 
was already discussed in this thread yesterday. 

With regular expression you won't know if a syntactical 
valid address is a real address.

> -----Ursprüngliche Nachricht-----
> Von: Kunal Shah [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 10. Oktober 2002 08:50
> An: Tomcat Users List
> Betreff: RE: How to validate email address in JSP by using javax.mail?
> 
> 
> hummm
> that means you should load the server for checking validity
> of email address by sending a mail to the address, as it is
> not assuring that it would be correct way to find out the
> validity of email.
> 
> I think in that case, regular expression is much convinient
> way to go with.
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to