Edgewall Software
Modify

Opened 10 years ago

Closed 10 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:
Release Notes:
API 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 Changed 10 years ago by Emmanuel Blot

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

comment:2 Changed 10 years ago by Christopher Lenz

Milestone: 0.9.10.9.2

comment:3 Changed 10 years ago by anonymous

Milestone: 0.9.30.9.4

comment:4 Changed 10 years ago by Emmanuel Blot

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.