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
Release files for validate-email-address 1
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-address-1.tar.gz | 4.9 kB | Details |
Release files / validate-email-address-1.tar.gz
| Download URL | validate-email-address-1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c00f978fed19d3df368b054292df7e8443761e44d3fadf95ef25499ea980f43
|
|
BLAKE2b-256 checksum How to use checksums |
624cbf53c66bf1a28635a755e943e2fbd0b29db7ebb9ae8fe9e72d3c4b14907b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |