[horde] Blank lines in the mail
Michael J Rubinsky
mrubinsk at horde.org
Mon Oct 26 16:00:23 UTC 2015
Quoting Ralph Ballier <ballier at mail.schule.de>:
> Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
>
>> Quoting Ralph Ballier <ballier at mail.schule.de>:
>>
>>> Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
>>>
>>>> Quoting Ralph Ballier <ballier at mail.schule.de>:
>>>>
>>>>> Zitat von Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>:
>>>>>
>>>>>> On Mon, 19 Oct 2015, Ralph Ballier wrote:
>>>>>>
>>>>>>> Date: Mon, 19 Oct 2015 15:27:26 +0200
>>>>>>> From: Ralph Ballier <ballier at mail.schule.de>
>>>>>>> To: horde at lists.horde.org
>>>>>>> Subject: [horde] Blank lines in the mail
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> if I forward or reply a mail in HTML format, sometimes, but not
>>>
>>> always
>>>>> I
>>>>>>> get many blank lines.
>>>>>>>
>>>>>>> Look below. This is the beginning of a mail, when I start to forward
>>>
>>> or
>>>>>>> to
>>>>>>> reply. It don't depend on the browser.
>>>>>>>
>>>>>>> In Outlook there is no problem to answer.
>>>>>>
>>>>>> How does the "raw" body of the message looks like? Is it a HTML
>>>>>> message
>>>>>> with alternate text/plain part? How does either part looks like?
>>>>>>
>>>>>> Me first bet is that there are alternate parts the MUAs reply to or
>>>
>>> that
>>>>>> the HTML part contains tags, which cause these many blank lines.
>>>>>
>>>>> In a folder with a content of 30 mails I found about 6 mails with many
>>>>> blank lines, if I try to answer. If I click at the "Text" button, I
>>>>> downloaded the follow text as example. I have anonymize some words.
>>>>>
>>>>> Perhaps this ist helpful.
>>>>>
>>>>> Ralph
>>>>>
>>>>> ----------------------------------------------- download after click
> at
>>>>> button "Text"
>>>
>>>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>>>>> <html xmlns:v="urn:schemas-microsoft-com:vml"
>>>>> xmlns:o="urn:schemas-microsoft-com:office:office"
>>>>> xmlns:w="urn:schemas-microsoft-com:office:word"
>>>>> xmlns="http://www.w3.org/TR/REC-html40">
>>>>>
>>>>> <head>
>>>>> <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
>>>>> <meta name=Generator content="Microsoft Word 11 (filtered medium)">
>>>>> <style>
>>>>> <!--
>>>>> /* Font Definitions */
>>>>> @font-face
>>>>> {font-family:Verdana;
>>>>> panose-1:2 11 6 4 3 5 4 4 2 4;}
>>>>> /* Style Definitions */
>>>>> p.MsoNormal, li.MsoNormal, div.MsoNormal
>>>>> {margin:0cm;
>>>>> margin-bottom:.0001pt;
>>>>> font-size:12.0pt;
>>>>> font-family:"Times New Roman";}
>>>>> a:link, span.MsoHyperlink
>>>>> {color:blue;
>>>>> text-decoration:underline;}
>>>>> a:visited, span.MsoHyperlinkFollowed
>>>>> {color:purple;
>>>>> text-decoration:underline;}
>>>>> span.E-MailFormatvorlage17
>>>>> {mso-style-type:personal-compose;
>>>>> font-family:Arial;
>>>>> color:windowtext;}
>>>>> @page Section1
>>>>> {size:595.3pt 841.9pt;
>>>>> margin:70.85pt 70.85pt 2.0cm 70.85pt;}
>>>>> div.Section1
>>>>> {page:Section1;}
>>>>> -->
>>>>> </style>
>>>>> <!--[if gte mso 9]><xml>
>>>>> <o:shapedefaults v:ext="edit" spidmax="1026" />
>>>>> </xml><![endif]--><!--[if gte mso 9]><xml>
>>>>> <o:shapelayout v:ext="edit">
>>>>> <o:idmap v:ext="edit" data="1" />
>>>>> </o:shapelayout></xml><![endif]-->
>>>>> </head>
>>>>>
>>>>> <body lang=DE link=blue vlink=purple>
>>>>>
>>>>> <div class=Section1>
>>>>>
>>>>> <p class=MsoNormal><font size=2 face=Arial><span
>>>
>>> style='font-size:10.0pt;
>>>>> font-family:Arial'>Hier das Medienkonzept nebst den
>>>>> Spezifikationen.<o:p></o:p></span></font></p>
>>>>>
>>>>> <p class=MsoNormal><font size=2 face=Arial><span
>>>
>>> style='font-size:10.0pt;
>>>>> font-family:Arial'><o:p> </o:p></span></font></p>
>>>>>
>>>>> <p class=MsoNormal><font size=2 face=Arial><span
>>>
>>> style='font-size:10.0pt;
>>>>> font-family:Arial'><o:p> </o:p></span></font></p>
>>>>>
>>>>> <p class=MsoNormal><font size=2 face=Verdana><span
>>>>> style='font-size:10.0pt;
>>>>> font-family:Verdana'>Mit freundlichen
>>>
>>> Grüßen</span></font><o:p></o:p></p>
>>>>>
>>>>> <p class=MsoNormal><font size=2 face=Verdana><span
>>>>> style='font-size:10.0pt;
>>>>> font-family:Verdana'>Im Auftrag</span></font><font face=Verdana><span
>>>>> style='font-family:Verdana'><o:p></o:p></span></font></p>
>>>>>
>>>>> <p class=MsoNormal><font size=3 face=Verdana><span
>>>>> style='font-size:12.0pt;
>>>>> font-family:Verdana'> <o:p></o:p></span></font></p>
>>>>>
>>>>> <p class=MsoNormal><font size=2 face=Verdana><span
>>>>> style='font-size:10.0pt;
>>>>> font-family:Verdana'>Nomen Nescio</span></font><font
> face=Verdana><span
>>>>> style='font-family:Verdana'><o:p></o:p></span></font></p>
>>>>>
>>>>> <p class=MsoNormal><font size=3 face="Times New Roman"><span
>>>>> style='font-size:
>>>>> 12.0pt'> <o:p></o:p></span></font></p>
>>>>>
>>>>> <p class=MsoNormal><font size=2 face="Times New Roman"><span
>>>>> style='font-size:
>>>>> 10.0pt'>Technischer Leiter</span></font><o:p></o:p></p>
>>>>>
>>>>> <p class=MsoNormal><font size=2 face="Times New Roman"><span
>>>>> style='font-size:
>>>>> 10.0pt'>der XXXXXX-Schule<br>
>>>>> XXXXXXX Str. YY<br>
>>>>> 10000 Berlin<br>
>>>>> Tel.: 030/888888-88<br>
>>>>> Fax: 030/888888-89</span></font><o:p></o:p></p>
>>>>>
>>>>> <p class=MsoNormal><font size=3 face="Times New Roman"><span
>>>>> style='font-size:
>>>>> 12.0pt'><o:p> </o:p></span></font></p>
>>>>>
>>>>> </div>
>>>>>
>>>>> </body>
>>>>>
>>>>> </html>
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>
>>>> This is a well known issue with emails generated by Microsoft products
>>>> such as Outlook. You can search the archives but the bottom line is
> it's
>>>> a combination of the Outlook namespaced elements like e.g., <o:p></o:p>
>>>> and linting code that keeps things clean and more secure for viewing
>>>> in-line in a web browser.
>>>>
>>>> --
>>>> mike
>>>> The Horde Project
>>>> http://www.horde.org
>>>>
> https://www.facebook.com/hordeprojecthttps://www.twitter.com/hordeproject
>>>
>>> and it is not possible to do something against it??
>>
>> No, not really.
>>
>> --
>> mike
>> The Horde Project
>> http://www.horde.org
>> https://www.facebook.com/hordeprojecthttps://www.twitter.com/hordeproject
>>
>
> Today I got a mail with two attachments (PDF). In Outlook I see the mail
> body (1 page, no more) and above the links to the attachments.
>
> In Horde I see the message at begin of the mail body and above the links to
> the attachments. That's ok, but after the message follow many many blank
> lines. If I scroll the mouse wheel about 35 times(!!) down, then I see the
> preview of the boths PDF attachments.
>
> I think this is not ok.
Feel free to come up with a solution and provide a patch that works,
doesn't strip actual content or other formatting, and doesn't pose a
security risk. Bottom line, Word generates completely broken HTML that
is only designed to work in Microsoft products, when the Word specific
CSS is included.
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20151026/112ce494/attachment.bin>
More information about the horde
mailing list