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
Release files for validate_email 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| validate_email-1.3.tar.gz | 4.7 kB | Details |
Release files / validate_email-1.3.tar.gz
| Download URL | validate_email-1.3.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
784719dc5f780be319cdd185dc85dd93afebdb6ebb943811bc4c7c5f9c72aeaf
|
|
BLAKE2b-256 checksum How to use checksums |
84a0cb53fb64b52123513d04f9b913b905f3eb6fda7264e639b4573cc715c29f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |