mirror of
https://github.com/creyD/email_valid.git
synced 2026-04-12 19:30:30 +02:00
21 lines
423 B
Python
21 lines
423 B
Python
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}")
|