On 21/08/06, Tim Williams <[EMAIL PROTECTED]> wrote: > On 21/08/06, John Draper <[EMAIL PROTECTED]> wrote:
Sorry, there's an indentation error here except smtplib.SMTPRecipientsRefused, x : #all recips failed for recip in x.recipients: print recip server.quit() break it should be except smtplib.SMTPRecipientsRefused, x : #all recips failed for recip in x.recipients: print recip # will give the recip and the SMTP error too server.quit() break -- http://mail.python.org/mailman/listinfo/python-list