Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#2424 closed defect (fixed)

A Japanese From header is troubled.

Reported by: takara@… Owned by: Emmanuel Blot
Priority: normal Milestone: 0.10
Component: ticket system Version: 0.9
Severity: normal Keywords: notification email
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I was able to cope with the following patch.

--- Notify.py.old       2005-12-01 12:10:39.509663568 +0900
+++ Notify.py   2005-12-01 12:13:02.764885464 +0900
@@ -130,7 +130,8 @@
         msg['X-Trac-Project'] =  projname
         msg['X-URL'] =  self.config.get('project','url')
         msg['Subject'] = Header(self.subject, 'utf-8')
-        msg['From'] = '%s <%s>' % (projname, self.from_email)
+       encodedProjname = Header(projname, "utf-8")
+        msg['From'] = '%s <%s>' % (encodedProjname, self.from_email)
         msg['Sender'] = self.from_email
         msg['Reply-To'] = self.replyto_email
         msg['To'] = rcpt

Attachments (0)

Change History (4)

comment:1 by Emmanuel Blot, 18 years ago

Component: generalticket system
Keywords: notification email added
Owner: changed from Jonas Borgström to Emmanuel Blot
Status: newassigned

comment:2 by Christopher Lenz, 18 years ago

Milestone: 0.9.10.9.2

comment:3 by anonymous, 18 years ago

Milestone: 0.9.30.9.4

comment:4 by Emmanuel Blot, 18 years ago

Milestone: 0.9.40.10
Resolution: fixed
Status: assignedclosed

Should be addressed by [2799]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.