Check if an email is valid with using SMTP, regexes and blacklists https://gitea.ksol.io/karolyi/py3-validate-email/
Go to file
Syrus Akbary 49034b13b6 First version 2012-04-07 23:05:57 +02:00
.gitignore First version 2012-04-07 23:05:57 +02:00
AUTHORS First version 2012-04-07 23:05:57 +02:00
INSTALL.txt First version 2012-04-07 23:05:57 +02:00
LICENSE First version 2012-04-07 23:05:57 +02:00
MANIFEST.in First version 2012-04-07 23:05:57 +02:00
README.rst First version 2012-04-07 23:05:57 +02:00
setup.py First version 2012-04-07 23:05:57 +02:00
validate_email.py First version 2012-04-07 23:05:57 +02:00

README.rst

==============
validate_email
==============

validate_email is a package for Python that check if an email is valid, properly formatted and really exists (connecting to the server and "asking")



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
-------------------------------

For check if the host has SMPT Server

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


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

Check if the host has SMPT Server and the email exists in the server.

    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