email varification using smtplib or any method

Gabriel Genellina gagsl-py2 at
Fri Feb 20 07:13:59 EST 2009

En Fri, 20 Feb 2009 02:58:24 -0200, jitendra gupta <jitu.icfai at>  

> when i am changing
> msg['To'] = "wronguser at wrongdomain.comddsdjsdsdsjdh"
> some wrong email then i am getting back failure notice in my inbox,  
> which i
> dont want..
> is there any way so that i can identify wrong email during the run time
> (when i am sending  the email)

In practice, no, due to spam.
If you connect directly to the destination SMTP (instead of your own), you  
could try the VRFY command (if supported by the server); but most servers  
just return a generic 252 response.

Gabriel Genellina

More information about the Python-list mailing list