Project

General

Profile

Actions

Defect #5784

closed

Mail subject is cutting on MS Exchange 2007, 2010 after 256 character. (RFC2047)

Added by Alexander Britov almost 14 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Category:
Email notifications
Target version:
-
Start date:
2010-06-30
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Redmine - does not follow the RFC2047, as the line should not be longer than 75 character.

The following example shows how a large line should be:
Content-Type: text/plain; name=
"=?iso-2022-jp?B?GyRCJCIkJCQmJCgkKiQrJC0kLyQxJDMkNSQ3JDkkOyQ9JD8bKEI=?=
=?iso-2022-jp?B?GyRCJEEkRCRGJEgkSiRLJEwkTSROJE8kUiRVJFgkWyReJF8bKEI=?=
=?iso-2022-jp?B?GyRCJGAkYSRiJGQkZiRoJGkkaiRrJGwkbSRvJHIkcyMxIzIbKEI=?=
=?iso-2022-jp?B?GyRCIzMjNCM1IzYjNyM4IzkjMBsoQi50eHQ=?="

The following RFC describe how the message header should be for Non-ASCII Text
MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text
http://www.faqs.org/rfcs/rfc2047.html

encoded-word = "=?" charset "?" encoding "?" encoded-text "?="

Example for Error.

Initial data:
- Sender's mail client - from Redmine.
!!==> Subject: contains 81 (!!!) character in Russian encoding.
This was only the letters without any characters, spaces, digits, etc.
- Recipient's mail client: OLK 2007 (12.0.6316.5000) SP1.
- Mailbox server: Exchange 2007 SP1
!!==> Field Subject shows CORRECTLY in Outlook 2007.
Subject: =?koi8-r?Q?=C6=CC=C4=C4=D0=C1=CF=CC=C4=C1=D7=D0=DB=DD=C5=CB=D6=C4=CD=D9=D7=CF=D0=DA=DD=D5=CB=C4=D9=CC=D7=CF=D0=CC=C1=D0=CF=C4=CC=D7=C1=CF=C4=CC=D9=D7=CF=C1=DB=DD=D5=C1=CF=D7=D9=C4=C1=CC=CF=CB=D5=C3=C4=DB=C1=C4=CC=D0=D2=CC=C1=CF=D0=D5=C3=C4=CB=CF=DB=C9?=


Related issues

Related to Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)Closed

Actions
Actions

Also available in: Atom PDF