Ticket #1065: notify-utf.diff
| File notify-utf.diff, 0.5 KB (added by otavio, 4 years ago) |
|---|
-
trac/Notify.py
154 154 msg['Reply-To'] = self.replyto_email 155 155 msg['To'] = rcpt 156 156 msg['Date'] = time.strftime('%a, %d %b %Y %H:%M:%S +0000', time.gmtime()); 157 msg['Content-type'] = 'text/plain; charset=utf-8' 157 158 for hdr in mime_headers.keys(): 158 159 msg[hdr] = mime_headers[hdr] 159 160 self.server.sendmail(self.from_email, rcpt, msg.as_string())
