Changeset 3136 for pykota/trunk
- Timestamp:
- 01/18/07 19:20:23 (18 years ago)
- Location:
- pykota/trunk
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r3133 r3136 1026 1026 try : 1027 1027 msg = MIMEText(fullmessage, _charset=self.charset) 1028 msg["Subject"] = str(Header(_("Print Quota"), charset=self.charset))1028 msg["Subject"] = Header(_("Print Quota"), charset=self.charset) 1029 1029 msg["From"] = adminmail 1030 1030 if mailto in ("BOTH", "USER") : -
pykota/trunk/NEWS
r3135 r3136 22 22 PyKota NEWS : 23 23 24 - 1.26alpha2 (2007-01-17) : 25 24 - 1.26alpha2 (2007-01-18) : 25 26 - Fixed email headers. 27 26 28 - Changed copyright years. 27 29 -
pykota/trunk/pykota/tool.py
r3133 r3136 346 346 server = smtplib.SMTP(self.smtpserver) 347 347 msg = MIMEText(fullmessage, _charset=self.charset) 348 msg["Subject"] = str(Header("PyKota v%s crash traceback !" \349 % __version__, charset=self.charset) )348 msg["Subject"] = Header("PyKota v%s crash traceback !" \ 349 % __version__, charset=self.charset) 350 350 msg["From"] = admin 351 351 msg["To"] = crashrecipient … … 484 484 usermail = "%s@%s" % (usermail, self.maildomain or self.smtpserver or "localhost") 485 485 msg = MIMEText(message, _charset=self.charset) 486 msg["Subject"] = str(Header(subject, charset=self.charset))486 msg["Subject"] = Header(subject, charset=self.charset) 487 487 msg["From"] = adminmail 488 488 msg["To"] = usermail … … 495 495 adminmail = "%s@%s" % (adminmail, self.maildomain or self.smtpserver or "localhost") 496 496 msg = MIMEText(message, _charset=self.charset) 497 msg["Subject"] = str(Header(subject, charset=self.charset))497 msg["Subject"] = Header(subject, charset=self.charset) 498 498 msg["From"] = adminmail 499 499 msg["To"] = adminmail