|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Simple Email Validation in java
hi
I was in need of ur help for my project. I was building a Eshopping store using Core java components. I want to validate the EMAIL ADDRESS using @ and . signs. So can anyone help me regarding this. This is not a web application, only a stand alone application. Thanks Cheers surmonsu |
|
#2
|
||||
|
||||
|
Email validation is best done the same way across most platforms - using Regular Expressions. There are quite a few resources available on Google for this very topic.
|
|
#3
|
|||
|
|||
|
JEmailValidator Component check against email address
http://www.jvsoft.org/index.html
Syntax Check-Validates the address for syntax, whether it has all of the mandatory characters present (e.g. @) and any illegal characters present (i.e. ~). It will also check for multiple occurrences of required characters (i.e. @@). DNS/MX Record Check-Validates the domain name with DNS server to ensure that the email domain is a valid registered domain. Mail Server Check-Validates an email address (e.g. jvsoft@hotpop.com) by mail server (e.g. mail.hotpop.com) to ensure that the mail server indeed has the email address. This method has very good performance. (Attention: a few mail servers don't support this method(e.g. yahoo)) |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > Simple Email Validation in java |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|