Discussion:
e-mail validation
Ramesh Etta
2009-01-13 07:10:25 UTC
Permalink
Hi,
I have a text field to enter email, and when i enter the mail, it needs to
validate in such a way that, only Business mail Ids should be accepted and
all the free mails we can see
in the Net should not be allowed.

I mean if enter mail id like ***@yahoo.com, ***@gmail.com etc should not be
accepted. and business mails like ibm.com, oracle.com etc should be allowed.
I can put the free mailids in a list and validate, but how can i know that
this particular mail id like xxx.xyz.com is free mail / business mail.

Is there any way to check this.

Please reply.
--
View this message in context: http://www.nabble.com/e-mail-validation-tp21430493p21430493.html
Sent from the Javamail mailing list archive at Nabble.com.

===========================================================================
To unsubscribe, send email to ***@java.sun.com and include in the body
of the message "signoff JAVAMAIL-INTEREST". For general help, send email to
***@java.sun.com and include in the body of the message "help".
Bill Shannon
2009-01-13 07:42:58 UTC
Permalink
Post by Ramesh Etta
Hi,
I have a text field to enter email, and when i enter the mail, it needs to
validate in such a way that, only Business mail Ids should be accepted and
all the free mails we can see
in the Net should not be allowed.
accepted. and business mails like ibm.com, oracle.com etc should be allowed.
I can put the free mailids in a list and validate, but how can i know that
this particular mail id like xxx.xyz.com is free mail / business mail.
Is there any way to check this.
No, there's no way to check this.

===========================================================================
To unsubscribe, send email to ***@java.sun.com and include in the body
of the message "signoff JAVAMAIL-INTEREST". For general help, send email to
***@java.sun.com and include in the body of the message "help".
Loading...