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 web should not be allowed.
I mean if enter mail id like email@example.com, firstname.lastname@example.org 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. ( as there are many free mails available on the web ).
In addition to what Rob said, people who are self-employed or work as freelancers may not have what you'd consider a "business email address". GMail or Yahoo etc. may indeed be their primary business email.
Rob is correct. I work for a large corporation. Our customers are businesses, too. We send e-mail to lots of our customers, and it's not uncommon for them to be yahoo.com or aol.com or other free accounts.
So I guess that I (and maybe Rob too) am questioning what's the point of this requirement?