Changeset 2983 for pykota/trunk/bin/cupspykota
- Timestamp:
- 08/10/06 15:58:29 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r2973 r2983 1008 1008 server.sendmail(adminmail, destination, msg.as_string()) 1009 1009 except smtplib.SMTPException, answer : 1010 for (k, v) in answer.recipients.items() : 1011 self.printInfo(_("Impossible to send mail to %s, error %s : %s") % (k, v[0], v[1]), "error") 1010 try : 1011 for (k, v) in answer.recipients.items() : 1012 self.printInfo(_("Impossible to send mail to %s, error %s : %s") % (k, v[0], v[1]), "error") 1013 except AttributeError : 1014 self.printInfo(_("Problem when sending mail : %s") % str(answer), "error") 1012 1015 server.quit() 1013 1016 self.logdebug("Feedback sent to user %s." % self.UserName)