mirror of
https://github.com/creyD/email_valid.git
synced 2026-04-13 03:40:30 +02:00
feat: added version 0.1.0
This commit is contained in:
20
validate_mail.py
Normal file
20
validate_mail.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from validate_email import validate_email
|
||||
|
||||
# Replace with your target email
|
||||
emails =[
|
||||
"conrad@noah.tech",
|
||||
"bernd@noah.tech"
|
||||
]
|
||||
for mail in emails:
|
||||
is_valid = validate_email(
|
||||
email_address=mail,
|
||||
check_format=True,
|
||||
check_blacklist=True,
|
||||
check_dns=True,
|
||||
dns_timeout=10,
|
||||
check_smtp=True,
|
||||
smtp_timeout=10,
|
||||
|
||||
)
|
||||
|
||||
print(f"Is '{mail}' valid? -> {is_valid}")
|
||||
Reference in New Issue
Block a user