• Post Reply Bookmark Topic Watch Topic
  • New Topic

validating e-mail address  RSS feed

 
Keith Mc C
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

i am taking in an email address in from a form on my register.jsp page and need to do some validation on it.
does anybody have experience using the validate() method from the javax.mail.internet.InternetAddress class? how does it work?
or else i might just check that it contains an '@'
would appreciate some suggestions please..

thanks keith.
 
Paul Clapham
Sheriff
Posts: 22835
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you think you have to do some validation on it?
 
Keith Mc C
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to make sure its a valid email address (maybe i can do it later )
 
Keith Mc C
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to make sure its a valid email address (maybe i can do it later )
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!