Microsoft KB Archive/823921

= Line wrapping does not appear as expected when you send e-mail messages in Outlook 2003 =

Article ID: 823921

Article Last Modified on 1/6/2006

-

APPLIES TO


 * Microsoft Office Outlook 2003

-





IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you send or receive an e-mail message in Outlook 2003, the line wrapping in the e-mail message does not appear as expected.



CAUSE
This problem occurs if you send or receive a plain text e-mail message in Outlook 2003 by using an Internet e-mail account. In this situation, the text is always hard-wrapped to a length between 30 and 132 characters.



RESOLUTION
To resolve this problem, follow these steps.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

 Start Registry Editor. To do so, click Start, click Run, type regedt32.exe in the Open box, and then click OK. Locate, and then click the following registry key :

 In the right-pane, double-click the WrapLinesDWORD value. Note the value that appears in the Value Data box.  If the WrapLines value is set to a non-zero value or is not present (the default setting), plain text lines are wrapped before the e-mail message is encoded. In this situation, you must create the WrapLines value. To do so, follow these steps:  Locate, and then click the following registry key:

You can set the InternetMailTextEncodingDWORD value to any of the following values:

0 - Autodetect (the default setting). This value checks both the percentage of characters that are not US-ASCII and the length of the longest line to determine the correct encoding. If lines have been wrapped and all characters are US-ASCII, the e-mail message will be sent as 7-bit. The e-mail message will be sent as Quoted-Printable if lines were not wrapped, or if more than 0 percent, but less than 17 percent, of the characters are not US-ASCII. If more than 17 percent of the characters are not US-ASCII, the e-mail message will be base64 encoded.

1 - Quoted-Printable. The e-mail message will be in quoted printable encoding.

2 - Base64. The e-mail message will be base64 encoded.

3 - 8-bit. No encoding will be used. The e-mail message will be sent as it is.

Note These values apply both to plain text e-mail messages and to the plain text portion of an HTML e-mail message.

If the WrapLines registry value is set so that the lines are wrapped, the length of the line can be set by editing the PlainWrapLenDWORD value in the following registry key:

In Outlook 2003, you can only set the line length to use a value that is between 30 and 132 characters. When you configure the PlainWrapLen value by editing the registry, you can set the line length to use a value of up to 998 characters.

Additional query words: smtp, wrap, line, url, broken OL2003

Keywords: kbbug kbfix kbemail kbreceivemail KB823921

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.