regluit/libraryauth/emailcheck/__init__.py

5 lines
156 B
Python
Raw Normal View History

2013-12-16 20:14:28 +00:00
from .data import blacklist
def is_disposable(email_address):
email_domain = email_address.lower().rsplit('@')[-1]
return email_domain in blacklist