6.0.0-alpha14
7/3/25

[#14500] Html tag inside blockquote (breaks displaying at seznam.cz)
Summary Html tag inside blockquote (breaks displaying at seznam.cz)
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester m (at) rcel (dot) cz
Created 10/31/2016 (3167 days ago)
Due
Updated 11/05/2016 (3162 days ago)
Assigned 11/05/2016 (3162 days ago)
Resolved 11/05/2016 (3162 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/05/2016 08:14:29 AM m (at) rcel (dot) cz Comment #5 Reply to this comment
The fix works. Thank you!
11/05/2016 04:06:07 AM Michael Rubinsky Comment #4
State ⇒ Resolved
Reply to this comment
I was unable to actually reproduce this, but it's probably because I 
have the tidy extension installed.

Anyway, this should fix the problem on those installations that do not.
11/05/2016 04:05:01 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit c10fcc9d2a14b9cbc41966a4f7c35f3d2d4b879e
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat Nov 5 00:01:41 2016 -0400

     Bug: 14500 Ensure we only use the body of the html part.

  framework/Core/lib/Horde/Core/ActiveSync/Mail.php | 13 +++++++++++++
  1 file changed, 13 insertions(+)

http://github.com/horde/horde/commit/c10fcc9d2a14b9cbc41966a4f7c35f3d2d4b879e
11/05/2016 01:02:49 AM Michael Rubinsky Comment #2
Priority ⇒ 1. Low
State ⇒ Assigned
Assigned to Michael Rubinsky
Reply to this comment
Indeed, this is an issue when the client uses HTML mail and sends a 
"Smart Reply". This means that to save bandwidth, the client only 
sends the new reply text and the server must fetch the original 
message body from the IMAP server and add it to the email before 
sending. If the original message body was HTML and included the 
opening/closing HTML tags then the body is incorrectly wrapped in the 
blockquote.
10/31/2016 06:37:53 PM m (at) rcel (dot) cz Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Html tag inside blockquote (breaks displaying at seznam.cz)
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When I reply to an html formatted email to users at seznam.cz (using 
EAS via Nine on Android), they won't see my typed response when 
viewing in the Seznam webmail, only their original message.

This happens because the html message (sent using EAS) is formatted like this:
<div>My reply from Nine</div><blockquote><html><body>Initial 
<b>message</b> from 
seznam.cz<!--a75c305b1c0a6022--></body></html></blockquote>

Seznam.cz (which is the larges free email provider in Czech Republic) 
claims that there's defined <html> and shows only that to users. I 
don't think they are doing anything completely wrong here. Not 
foolproof but not necessarily broken...

Nine claims that they do not process blockquote received from server 
so maybe the server should provide "safe" blockquote (?). I wasn't 
able to duplicate the issue via Horde web interface. When I tried 
Samsung Focus (quite new EAS client), it also sends html withing 
previous email quoting but it puts the whole message inside another 
html so Seznam displays it fine.

I don't know about blockquote element but having multiple html 
elements within single document doesn't look valid. On the other hand 
html emails doesn't require html tag at all (if I read RFCs correctly).

Please see the link to the issue at Nine tracker, it includes full 
message source.

Link to the issue reported to seznam.cz (in czech, but only initial 
public report): 
https://napoveda.seznam.cz/forum/viewtopic.php?f=14&t=24980
Link to the issue at Nine tracker: 
https://ninefolders.plan.io/track/46454/fd095b

Saved Queries