Edgewall Software
Modify

Opened 8 years ago

Closed 8 years ago

#2424 closed defect (fixed)

A Japanese From header is troubled.

Reported by: takara@… Owned by: eblot
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 8 years ago by eblot

  • Component changed from general to ticket system
  • Keywords notification email added
  • Owner changed from jonas to eblot
  • Status changed from new to assigned

comment:2 Changed 8 years ago by cmlenz

  • Milestone changed from 0.9.1 to 0.9.2

comment:3 Changed 8 years ago by anonymous

  • Milestone changed from 0.9.3 to 0.9.4

comment:4 Changed 8 years ago by eblot

  • Milestone changed from 0.9.4 to 0.10
  • Resolution set to fixed
  • Status changed from assigned to closed

Should be addressed by [2799]

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed The owner will remain eblot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from eblot to the specified user.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.