Changeset 3136 for pykota/trunk/pykota/tool.py
- Timestamp:
- 01/18/07 19:20:23 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
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