mirror of
https://github.com/aljazceru/validate_email.git
synced 2025-12-25 09:54:21 +01:00
8fcf614de65a21c47206bb24fc94f758db09dd0a
==============
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
-------------------------------
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
Description
Languages
Python
100%