The Python Oracle

How to check for valid email address?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Magic Ocean Looping

--

Chapters
00:00 Question
00:26 Accepted answer (Score 338)
02:28 Answer 2 (Score 167)
04:37 Answer 3 (Score 89)
06:06 Answer 4 (Score 23)
06:42 Thank you

--

Full question
https://stackoverflow.com/questions/8022...

Accepted answer links:
[this question]: https://stackoverflow.com/questions/2013...
[re.fullmatch]: https://docs.python.org/3/library/re.htm...
[validate_email]: https://stackoverflow.com/questions/8022...

Answer 2 links:
[email.utils.parseaddr()]: http://docs.python.org/3/library/email.u...
[dnspython]: https://pypi.org/project/dnspython/

Answer 3 links:
[py3-validate-email]: https://github.com/karolyi/py3-validate-...
[validate_email]: https://pypi.python.org/pypi/validate_em...
[source]: https://github.com/syrusakbary/validate_...
[RFC 2822]: https://www.ietf.org/rfc/rfc2822.txt

Answer 4 links:
http://www.acooke.org/lepl/
http://www.faqs.org/rfcs/rfc3696.html

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #regex #emailvalidation #emailaddress

#avk47