Metadata-Version: 2.4
Name: validate-email-address
Version: 1
Summary: Verify if an email address is valid and really exists.
Home-page: http://github.com/heropunch/validate-email-address
Download-URL: https://github.com/heropunch/validate-email-address.git
Author: Carlos Killpack
Author-email: carlos.killpack@rocketmail.com
License: LGPLv3
Keywords: email validation verification mx verify
Classifier: Topic :: Communications :: Email
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
License-File: LICENSE
License-File: AUTHORS
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: download-url
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: summary

|build|

======================
validate-email-address
======================

`validate-email-address` 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-address


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_address import validate_email
    >>> validate_email('example@example.com')
    True


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

Check if the host has SMTP Server::

    >>> from validate_email_address import validate_email
    >>> validate_email('example@sharklasers.com', check_mx=True)
    True


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

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

    >>> from validate_email_address import validate_email
    >>> validate_email('example@sharklasers.com', verify=True)
    True


.. |build| image:: https://travis-ci.org/heropunch/validate-email-address.svg
   :target: https://travis-ci.org/heropunch/validate-email-address
