Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

email validation at the backend  RSS feed

 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am tyring to validate emails from the database, and can somebody tell me what the best way of doing it, I am able to find code for front-end validation in java script and at the back end , if I use InternetAddress() class for validation, its of no use because it accepts the email abc too..
can somebody come up with an answer.
thanks
Pradeep
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

its of no use because it accepts the email abc too

Well, that is a valid SMTP email address so that's no surprise.
[ December 15, 2004: Message edited by: Paul Sturrock ]
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not use Regular expresssion?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!