Skip to content

oleg-borodai/validate_email

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Validemail

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

INSTALLATION

First, you must do:

pip install validemail

Extra

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

pip install dnspython

USAGE

Basic usage:

from validemail import validemail
is_valid = validemail('[email protected]')

Checking domain has SMTP Server

Check if the host has SMTP Server:

from validemail import validemail
is_valid = validemail('[email protected]',check_mx=True)

Verify email exists

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

from validemail import validemail
is_valid = validemail('[email protected]',verify=True)

TODOs and BUGS

See: https://github.com/oleg-borodai/validate_email/issues

About

Validate_email verify if an email address is valid and really exists

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%