Changeset 2642 for pykota/trunk/bin/cupspykota
- Timestamp:
- 02/03/06 14:32:40 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r2636 r2642 39 39 import smtplib 40 40 from email.MIMEText import MIMEText 41 from email.Header import Header 41 42 42 43 from pykota.tool import PyKotaTool, PyKotaToolError, crashed … … 828 829 try : 829 830 msg = MIMEText(fullmessage, _charset=self.charset) 830 msg["Subject"] = _("Print Quota") # TODO : use correct encoding for Subject header831 msg["Subject"] = str(Header(_("Print Quota"), charset=self.charset)) 831 832 msg["From"] = adminmail 832 833 msg["To"] = usermail