recipient validation with smtplib

Robin Becker robin at reportlab.com
Fri Sep 28 07:20:39 EDT 2007


Is there a way to use smtplib to get recipient validation. I can use smtplib 
quite happily to send emails using the locahost's sendmail, but sendmail is just 
  fire and forget, so some bad addresses eg idiot at www.dingo.zzz don't cause any 
error in the sending application. I know some smtp setups do enforce recipient 
validation, but it doesn't seem terribly easy to do this with sendmail. I 
wondered if there were some way to do this in python?
-- 
Robin Becker




More information about the Python-list mailing list