Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Can We Ban Certain E-Mail Domains?Can We Ban Certain E-Mail Domains?
Previous
 
Next
New Post
10/1/2012 2:48 PM
 
Ben,
How are you going to decide what email domains are allowed and which domains are banned? What are you considering to be a "personal" e-mail domain?
 
New Post
10/1/2012 3:04 PM
 
Personal E-Mail accounts are going to be those that are not supplied by our client's organizations (ie: gmail.com, yahoo.com, etc.) I just need to be able to add these "invalid" domains to a list that is used to stop people from using them as their E-Mail address.

Ben Santiago, MCP Certified & A+ Certified
Programmer Analyst
(SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS, Cognos ReportNet)
 
New Post
10/1/2012 4:53 PM
 
Right. So, what I'm saying is that the list of ALLOWED e-mail domains is finite and known while the list of BANNED e-mail domains is almost infinite and unknown.
So, you would use Verified as the site's registration model and modify the regex for e-mail address validation.
Example (works): ^\w+@(dotnetnuke.com|dotnetnuke.org)
This is for the ALLOWED domains, which is the universe of domains that you control and are allowing.
 
New Post
10/2/2012 8:41 AM
 
Mike,

First I would like to thank you for offering your suggestions.

Unfortunately you are making assumptions against what I specifically said my requirements are. The list of valid E-Mail domains in my case already number near one hundred and is growing as we take on more customers. Our customers are all local, and the number of personal E-Mail services they can choose from is a much smaller list that we've seen and experienced so far (roughly 6-10) providers at the moment. This is why I am specifically looking to create a BAN list and not an ALLOWED list. The BAN list is much smaller and easier to maintain. As we find more domains that we would like to exclude, we can add them as we find them to the list.

Ben Santiago, MCP Certified & A+ Certified
Programmer Analyst
(SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS, Cognos ReportNet)
 
New Post
10/2/2012 10:16 AM
 

I wasn't expecting you to have 100+ valid e-mail domains. You could still use a RegExp to exclude the domains. I'm not skilled enough with RegExp to provide the syntax (but I know it's possible).

However, the RegExp string might become too large.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Can We Ban Certain E-Mail Domains?Can We Ban Certain E-Mail Domains?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out