Skip to main content

Verify if an email address is valid and really exists.

Project description

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

Project details


Release history Release notifications | RSS feed

This version

1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for validate-email-address, version 1
Filename, size File type Python version Upload date Hashes
Filename, size validate-email-address-1.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page