只允许在网站上注册“公司”电子邮件地址 [英] Only allow 'business' email address register on website
问题描述
我们正在寻求建立一个专门用于商业/商业用途的新网站。我们只需要注册公司电子邮件地址即可。因此,使用Gmail,Hotmail,Yahoo等的用户无法使用这些电子邮件地址进行申请。
We are looking to build a new website that is specifically for commercial/business use. We need to only allow 'business' email addresses register. So users with Gmail, Hotmail, Yahoo etc cannot apply with those email addresses.
除了创建诸如gmail.com,hotmail.com等域名的黑名单外,还有其他方法吗?这将是一个国际站点-因此不可能将所有公共电子邮件提供商列入黑名单。
Is there a way to do this, other than creating a blacklist of domains such as gmail.com, hotmail.com etc? It will be an international site - so it will be impossible to blacklist all of the public email providers.
感谢
Ian
Thanks Ian
推荐答案
正如其他人所说,尝试根据其电子邮件域来检测业务客户并没有多大意义,但是如果您真的想失败的话那条路,将其列入黑名单是您最好的选择。 spamassassin免费邮件插件提供了很好的默认黑名单:
As others have stated, it doesn't really make much sense to try to detect a business customer based on his email domain, but if you really wanna go down that road, blacklisting is your best bet. The spamassassin freemail plugin provides a good default blacklist:
http://svn.apache.org/repos/asf/spamassassin/trunk/rules/20_freemail_domains.cf
这篇关于只允许在网站上注册“公司”电子邮件地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!