DEV Community

Cover image for How to Verify Email Addresses Using Python

How to Verify Email Addresses Using Python

Khumbo Klein Chilamwa on February 17, 2023

Email verification is a process that involves the confirmation of the authenticity or legitimacy of an email address. Nowadays businesses are integ...
Collapse
 
cipharius profile image
Valts Liepiņš

Want to point out that fully compliant email syntax validation is too complex to efficiently solve in regexp. Here is example on why it's so:
fightingforalostcause.net/content/...

Collapse
 
sidunn profile image
Si Dunn

Nice project! This will be useful for me. Thanks!

Collapse
 
khumbolamulungu profile image
Khumbo Klein Chilamwa

you are welcome!!!!

Collapse
 
theinfosecguy profile image
Keshav Malik

This is good! Thanks for sharing.

Collapse
 
khumbolamulungu profile image
Khumbo Klein Chilamwa

yo welcome!

Collapse
 
vulcanwm profile image
Medea

this is great! i will definitely use this in my code

Collapse
 
khumbolamulungu profile image
Khumbo Klein Chilamwa

You are welcome, you definetly do that please!!!!!

Collapse
 
devsecbbs_dev profile image
DevSecBBS

that's amazing. the domain example.com exit on ping but the hello username is may wrong & it's been detected as invalid email address. that's seems working exact. will play with that soon...

Collapse
 
marissab profile image
Marissa B

That's pretty cool!

Collapse
 
khumbolamulungu profile image
Khumbo Klein Chilamwa

Thanks!!

Collapse
 
akash_sethi_0c36c30dd4dff profile image
Akash Sethi

This is working fine for me but my aws ec2 ip is getting blocked by spamhawk after verifying 50 emails. I searched the internet and found that I have to use Socks5 proxies but I couldn't find a service provider who is giving SOCKS5 proxies with SMTP enabled.

Can you please help?

Collapse
 
riteshpatel profile image
RITESH PATEL

this code how to use in Django project in email validation?