>Is it possible to validate email address such that only emails that have a certain domain are allowed. For example, that only "yahoo.com" emails are allowed. (e.g.
name@yahoo.com,
name2@yahoo.com). But emails like
name@msn.com are rejected? TIA.
If it is inside your application, just parsing would do it. You may enter a list of domains and filter them out, or in your case, validate them against your validation rules.