Checking if email is valid

Chris Angelico rosuav at gmail.com
Mon Nov 6 18:20:05 EST 2023


On Tue, 7 Nov 2023 at 10:11, Greg Ewing via Python-list
<python-list at python.org> wrote:
>
> On 7/11/23 7:45 am, Mats Wichmann wrote:
> > Continuing with the example, if you have a single phone number field, or
> > let a mobile number be entered in a field marked for landline, you will
> > probably assume you can text to that number.
>
> But if the site can detect that you've entered a mobile number into
> the landline field or vice versa and reject it, then it can figure out
> whether it can text to a given numner or not without you having
> to tell it!
>

Oh yes, it totally can. Never mind that some mobile numbers are able
to accept text messages but not calls, nor that some landline numbers
can accept text messages as well as calls :)

ChrisA


More information about the Python-list mailing list