Edgewall Software
Modify

Opened 9 years ago

Closed 9 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 9 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 9 years ago by cmlenz

  • Milestone changed from 0.9.1 to 0.9.2

comment:3 Changed 9 years ago by anonymous

  • Milestone changed from 0.9.3 to 0.9.4

comment:4 Changed 9 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]

Modify Ticket

Change Properties
Set your email in Preferences
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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.