validate email address with Python
Question: I'm trying to validate emails using [validate_email 1.3 : Python Package
Index](https://pypi.python.org/pypi/validate_email), like this:

    
    
    from validate_email import validate_email
    is_valid = validate_email('example@example.com',check_mx=True)
    

How can I speed this up? My `for` loop isn't very effective with amount of
emails I need to verify...


Answer: Only use `check_mx=True` the first time you encounter a domain. After that,
just use a regex to validate the address.

