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.

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',check_mx=True)

Verify email exists

Check if the host has SMPT Server and the email really exists:

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

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.1.tar.gz (15.8 kB view details)

Uploaded Source

File details

Details for the file validate_email-1.1.tar.gz.

File metadata

  • Download URL: validate_email-1.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for validate_email-1.1.tar.gz
Algorithm Hash digest
SHA256 6da2c2dced6772fd4271f2e359ca9dbf064b83e731e531e7150e299861e20bc6
MD5 3b10c4b9395f638a1c56ec53dde41520
BLAKE2b-256 77d59b492e9966e2fddaca2dc65457ad225e0a1d3357bf65b8c1fa01b852b9d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page