Skip to main content

Validate_email verify if an email address is valid and really exists.

Project description

Validate_email is a package for Python that check if an email is valid, properly formatted and really exists.


First, you must do:

pip install validate_email


For check the domain mx and verify email exits you must have the pyDNS package installed:

pip install pyDNS


Basic usage:

from validate_email import validate_email
is_valid = validate_email('')

Checking domain has SMTP Server

Check if the host has SMTP Server:

from validate_email import validate_email
is_valid = validate_email('',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('',verify=True)

Project details

Download files

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

Source Distribution

validate_email-1.3.tar.gz (4.7 kB view hashes)

Uploaded source

Supported by

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