Changeset 1384
- Timestamp:
- 03/03/04 14:10:35 (21 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r1381 r1384 24 24 - 1.18alpha14 : 25 25 26 - Catches more (all ?) problems with SMTP servers instead 27 of breaking. 28 26 29 - Italian translation added. 27 30 -
pykota/trunk/pykota/tool.py
r1374 r1384 22 22 # 23 23 # $Log$ 24 # Revision 1.77 2004/03/03 13:10:35 jalet 25 # Now catches all smtplib exceptions when there's a problem sending messages 26 # 24 27 # Revision 1.76 2004/03/01 14:34:15 jalet 25 28 # PYKOTAPHASE wasn't set at the right time at the end of data transmission … … 445 448 try : 446 449 server.sendmail(adminmail, [touser], "From: %s\nTo: %s\n%s" % (adminmail, touser, fullmessage)) 447 except smtplib.SMTP RecipientsRefused, answer :450 except smtplib.SMTPException, answer : 448 451 for (k, v) in answer.recipients.items() : 449 452 self.logger.log_message(_("Impossible to send mail to %s, error %s : %s") % (k, v[0], v[1]), "error")