A Python email utility that verifies existence of an email address
Project description
=Python EmailAhoy=
A Python email utility that verifies existence of an email address
Author: `Val Neekman <val@neekware.com>`
Introduction
Usage Example:
--------------
from emailahoy import VerifyEmail, verify_email_address
# to verify and receive the response status use the class
##############################################
e = VerifyEmail()
status = e.verify_email_smtp('test@example.com')
if e.was_found(status):
print >> sys.stderr, "Found:", status
elif e.not_found(status):
print >> sys.stderr, "Not Found:", status
else:
print >> sys.stderr, "Unverifiable:", status
# to just quickly check if an email exist or not use the shorthand function
##############################################
if verify_email_address('test@example.com'):
print >> sys.stderr, "Found"
else:
print >> sys.stderr, "Not found"
# Note:
##############################################
If email is valid, this returns within a second
If email is not valid or unverifiable, it can take up to 5 seconds
A Python email utility that verifies existence of an email address
Author: `Val Neekman <val@neekware.com>`
Introduction
Usage Example:
--------------
from emailahoy import VerifyEmail, verify_email_address
# to verify and receive the response status use the class
##############################################
e = VerifyEmail()
status = e.verify_email_smtp('test@example.com')
if e.was_found(status):
print >> sys.stderr, "Found:", status
elif e.not_found(status):
print >> sys.stderr, "Not Found:", status
else:
print >> sys.stderr, "Unverifiable:", status
# to just quickly check if an email exist or not use the shorthand function
##############################################
if verify_email_address('test@example.com'):
print >> sys.stderr, "Found"
else:
print >> sys.stderr, "Not found"
# Note:
##############################################
If email is valid, this returns within a second
If email is not valid or unverifiable, it can take up to 5 seconds
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
python-emailahoy-0.1.tar.gz
(2.8 kB
view details)
File details
Details for the file python-emailahoy-0.1.tar.gz
.
File metadata
- Download URL: python-emailahoy-0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b7f4370de622977f1d1933c6b077d463de025b2d4741c853ab88ce1792e29b3 |
|
MD5 | 0510606e65858758a037d42267a89ef3 |
|
BLAKE2b-256 | 6c0bd58aee3c2f64ee4cb33758e7333a6814fd074836a86d1350135a85db172c |