Checking if email is valid

Chris Angelico rosuav at gmail.com
Fri Nov 3 01:42:45 EDT 2023


On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
<python-list at python.org> wrote:
> My guess is that a first test of an email address might be to see if a decent module of that kind fills out the object to your satisfaction. You can then perhaps test parts of the object, rather than everything at once, to see if it is obviously invalid. As an example, what does user at alpha.......com with what seems to be lots of meaningless periods, get parsed into?
>

What do you mean by "obviously invalid"? Have you read the RFC?

ChrisA


More information about the Python-list mailing list