> > On 11/3/2023 6:51 AM, Jon Ribbens via Python-list wrote: >
> > On 2023-11-03, Chris Angelico ros...@gmail.com wrote: > > > > > On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list > > > python-list@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 u...@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? > > > > What do you mean by 'What do you mean by "obviously invalid"?' > > Have you read the RFC? > > > About reading the RFC, there's this ... but read the comments too ... > > https://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx/ > > Wow. I'm half tempted to make a weird email address to see how many websites get it wrong. Thank you for the link. Simon.
signature.asc
Description: OpenPGP digital signature
-- https://mail.python.org/mailman/listinfo/python-list