Opened 6 years ago

Closed 6 years ago

#1484461 closed Bugs (worksforme)

Bad split on too long subjects

Reported by: Toine Owned by:
Priority: 6 Milestone: 0.1-rc2
Component: Client Scripts Version: 0.1-rc1
Severity: major Keywords: subject split long cut new line return carriage charset
Cc:

Description

When composing a too long subject, Roundcube split this to send it correctly in mail heads.

To: xxx@xxxx.xx
Subject: message too long message too long message too long message too long message

 too long message too long message too long message too long message too

 long message too long
MIME-Version: 1.0
Date: Fri, 29 Jun 2007 12:04:28 +0200
From: <xxx@xxxx.xx>
Message-ID: <----------------@-------------.-->
X-Sender: xxx@xxxx.xx
User-Agent: RoundCube Webmail/0.1-rc1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit


My text, with accents é è ç à in UTF 8.

-> Subject is splitted with a blank between every line, and Outlook or Thunderbird understand heads are ending after first subject line. So "Mime Version", "Content-Type", "From", "Content-Transfer-Encoding", etc are not interpretted.
If the message is attached with a file, the files are not decoded.

If i send the same message with one of these softwares, the recevied source is :

Date: Fri, 29 Jun 2007 11:47:31 +0200
From: Antoine <xxx@xxxx.xx>
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
MIME-Version: 1.0
To: Antoine Lorence <xxx@xxxx.xx>
Subject: message too long message too long message too long message too long
 message too long message too long message too long message too long message
 too long message too long
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

My text, with accents é è ç à in UTF 8.

-> Heads are corrects, with the same subject.

Change History (3)

comment:1 Changed 6 years ago by estadtherr

This worked correctly for me:

Subject: 
 very long subject line very long subject line very long subject line very
 long subject line very long subject line very long subject line very long
 subject line very long subject line very long subject line very long
 subject line
Message-ID: <ff5a5186fd999d3b2c66a4bc16845ea9@localhost>
X-Sender: me@me.com
User-Agent: RoundCube Webmail/0.1b2
Content-Type: multipart/alternative;
	boundary="=_824b09d92ebbfaf12d3e7d580af1b095"

What OS are you using, which PHP version, and do you have RoundCube configured with an SMTP server or to use PHP mail?

comment:2 Changed 6 years ago by till

I cannot reproduce it either.

comment:3 Changed 6 years ago by till

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.