test if email

Florian Lindner Florian.Lindner at xgm.de
Fri Oct 12 23:04:58 CEST 2007

 kyosohma at gmail.com wrote:

> On Oct 12, 2:55 pm, Florian Lindner <Florian.Lind... at xgm.de> wrote:
>> Hello,
>> is there a function in the Python stdlib to test if a string is a valid
>> email address?
>> Thanks,
>> florian
> What do you mean? If you're just testing the construction of the email
> address string, then it's pretty easy. If you want to know if the
> email address is live and works, the only way to reliably find that
> out is to send a test email there to see if it goes through or
> bounces.
> Here's an interesting article on the topic, which is completely non-
> Python related:

Answer to everybody:

I was just asking for the correct syntax of the mail address. I know about
the various problems actually impossibility to test for a live and valid



More information about the Python-list mailing list