Syrus Akbary 18dd16bc8e Merge pull request #12 from AndreaCrotti/dns_cache
cache the mx from the cache since it's very unlikely to change and we can spare many DNS requests
2014-01-07 12:26:59 -08:00
2012-04-07 23:13:13 +02:00
2012-04-07 23:05:57 +02:00
2012-04-07 23:05:57 +02:00
2012-04-07 23:05:57 +02:00
2012-04-07 23:05:57 +02:00
2012-11-16 12:41:11 +00:00
2013-07-30 22:34:36 +02:00

==============
Validate_email
==============

Validate_email is a package for Python that check if an email is valid, properly formatted and really exists.



INSTALLATION
============

First, you must do::

    pip install validate_email

Extra
------

For check the domain mx and verify email exits you must have the `pyDNS` package installed::

    pip install pyDNS


USAGE
=====

Basic usage::

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


Checking domain has SMTP Server
-------------------------------

Check if the host has SMTP Server::

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


Verify email exists
-------------------

Check if the host has SMTP Server and the email really exists::

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


TODOs and BUGS
==============
See: http://github.com/syrusakbary/validate_email/issues
Description
No description provided
Readme 114 KiB
Languages
Python 100%