#1139 closed defect (fixed)
E-Mail notification summaries are badly formatted (Thunderbird related?)
Reported by: | Christian Boos | Owned by: | Emmanuel Blot |
---|---|---|---|
Priority: | low | Milestone: | 0.10 |
Component: | ticket system | Version: | 0.8 |
Severity: | minor | Keywords: | notification email thunderbird |
Cc: | brianlsmith@…, nepo@…, rhind@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
There must be an issue in the default setup of the Edgewall trac that leads to a bad formatting of the summary in the ticket changes notification mails.
E.g. the summary #1135: Component filter for the Timeline
is displayed
#1135: Component filter forthe Timeline
in the e-mail client Thunderbird 1.0.
Looking at the code, it could be that for a small
configured value of COLS (e.g. 30), the for
and
the the
are separated by CRLF
.
This could explain why that summary is displayed correctly
in the on-line archive for example.
http://lists.edgewall.com/archive/trac-tickets/2005-January/001097.html
Attachments (0)
Change History (12)
comment:1 by , 20 years ago
Cc: | added |
---|---|
Milestone: | → 0.8.1 |
comment:2 by , 20 years ago
Component: | general → ticket system |
---|---|
Keywords: | e-mail removed |
Milestone: | 0.8.1 |
We might put this in 0.8.1 if you have a patch ready ;-)
comment:3 by , 20 years ago
Hm, no, I don't have a patch for this.
By looking closer at the code, it seems that the wrap
thing is not even called for the Subject:…
I don't really understand what goes wrong and I can't debug that
for now.
comment:4 by , 20 years ago
I had a closer look this weekend (althoug I can hardly read Python). It seems that the wrong line endings appear at the places where ticket_notify_email.cs contains new line characters, i.e. between ticket_body_hdr
and ticket_props
.
I assume outlook chokes when mixing CRLF and LF line endings in the same mail. Maybe it helps not to do the LF —> CRLF conversion for the python-generated fields, so the complete e-mail only contins LF line endings (or whatever these templates use)? Or is it possible to to CRLF filtering on the mail after it comes out of the template engine?
comment:5 by , 19 years ago
Cc: | added |
---|
comment:6 by , 19 years ago
Keywords: | email added |
---|
comment:7 by , 19 years ago
Cc: | added |
---|
comment:8 by , 19 years ago
Outlook 2003 displays e-mails with the correct formatting when I Uncheck the option 'Remove extra line breaks from plain text messages' which can be found be selecting 'Tools | Options | E-mail options'.
HTH
Russell
comment:9 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
About line endings:
SMTP RFC2822 (chapter 2.2) specifies that headers line should always end with CRLF. Trac does send this kind of line endings, whatever the platform it runs on.
The body lines should also ends with CRLF, but those are the "physical" lines that are sent over SMTP. Trac does not guarantee this latter condition yet.
Note that when the body is encoded (as with Base64 for example), the "logical" lines (the ones the sender has written) may use either line ending, as those line endings do not appear as 0x0d, 0x0a in the message body.
comment:11 by , 19 years ago
Milestone: | → 0.10 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
This issue does not show anymore with the latest changes made in notification and Thunderbird 1.5.0.2 (MacOsX).
comment:12 by , 9 years ago
Reporter: | changed from | to
---|
Some more information: When reading the notification mails with outlook, I see two problems:
When looking at the mail in hex format I can see that the line endings are inconsistent. Some lines end with CRLF, some only end with LF. I think Outlook does not like inconsistent line endings.