test if email

brad byte8bits at gmail.com
Fri Oct 12 22:40:54 CEST 2007

Florian Lindner wrote:
> Hello,
> is there a function in the Python stdlib to test if a string is a valid
> email address?

Nope, most any string with an @ in it could be a valid email addy. Send 
a message to the addy, if it doesn't bounce, then it's valid.

More information about the Python-list mailing list