Drakanor: Outlook adds additional line breaks in plain text emails

I'm fighting with a strange problem sending plain text emails with Java. Outlook (2003 and 2007) adds additional line breaks throughout the mailtext. Every other mail client I tested show the email as intended.

First I thought Outlook would not interpret \n correctly and did line breaks with \r\n, but that didn't help either. Also, the email is encoded by quoted printable and UTF-8.

Here an example:

"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut vestibulum interdum diam, ut venenatis augue ultrices sit amet. Nunc iaculis dignissim ultricies. Nunc id enim vel metus dictum tincidunt. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam luctus ante vitae est eleifend aliquam. Sed in metus quis ipsum porta iaculis id eget dolor. Cras venenatis ipsum et mauris molestie porta. Nulla facilisi.

Donec nisl lacus, ultrices et egestas eu, fringilla viverra arcu. Etiam rutrum, neque nec ornare mattis, arcu ligula gravida nulla, at adipiscing sapien lorem sed massa. Nulla a nisl eget purus pretium condimentum. Pellentesque urna dolor, viverra ut gravida nec, ultricies vitae magna. Etiam in auctor libero. Pellentesque rutrum gravida feugiat. Praesent arcu mi, dapibus non viverra et, auctor dignissim lectus. Curabitur semper augue non libero blandit volutpat. Aenean por
 ttitor porttitor ligula, in faucibus mauris tempor vitae. Proin felis lectus, ultricies nec facilisis nec, porttitor sit amet metus. Vestibulum ut leo arcu."

After 948 chars Outlook is adding a line break which breaks the word "porttitor". No matter how many line breaks I manually add in between, Outlook always does these line breaks by itself.

I'd really appreciate any hints, I'm clueless right now.

Thanks,
Roman

  1. Hallo

    I'm fighting with a strange problem sending plain text emails with Java. Outlook (2003 and 2007) adds additional line breaks throughout the mailtext. Every other mail client I tested show the email as intended.

    ... und warum geht das nicht auf deutsch?

    Tschö, Auge

    --
    Verschiedene Glocken läuteten in der Stadt, und jede von ihnen vertrat eine ganz persönliche Meinung darüber, wann es Mitternacht war.
    Terry Pratchett, "Wachen! Wachen!"
    Veranstaltungsdatenbank Vdb 0.3
    1. Hi,

      ... und warum geht das nicht auf deutsch?

      Weil der Herr zu faul war, sein an mehreren Stellen gepostetes Problem noch mal auf deutsch zu beschreiben.

      http://groups.google.com/group/microsoft.public.outlook.general/browse_thread/thread/c24d4a5b9361f473/20b4634507369d96?lnk=raot&pli=1
      http://www.tech-archive.net/Archive/Outlook/microsoft.public.outlook.general/2009-06/msg02285.html

      MfG ChrisB

      --
      Light travels faster than sound - that's why most people appear bright until you hear them speak.
      1. Hallo

        »» ... und warum geht das nicht auf deutsch?

        Weil der Herr zu faul war, sein an mehreren Stellen gepostetes Problem noch mal auf deutsch zu beschreiben.

        Ahja, ich wunderte mich nur ob der deutschen TLD an seinem (?) Link.

        Tschö, Auge

        --
        Verschiedene Glocken läuteten in der Stadt, und jede von ihnen vertrat eine ganz persönliche Meinung darüber, wann es Mitternacht war.
        Terry Pratchett, "Wachen! Wachen!"
        Veranstaltungsdatenbank Vdb 0.3
  2. Hi,

    I'm fighting with a strange problem sending plain text emails with Java. Outlook (2003 and 2007) adds additional line breaks throughout the mailtext. Every other mail client I tested show the email as intended.

    please let's have a look at the source code of the e-mail message including the headers after the message has been received by Outlook.
    Your description sounds weird, especially ...

    No matter how many line breaks I manually add in between, Outlook always does these line breaks by itself.

    ... this should not be the case. There is a limit to the length of a single line in a mail message, which is ~1000 chars. But if you insert line breaks yourself, they prevent the lines from becoming too long.

    I'd really appreciate any hints, I'm clueless right now.

    So am I for now.

    So long,
     Martin

    --
    You say, it cannot be love if it isn't for ever.
    But let me tell you: Sometimes, a single scene can be more to remember than the whole play.