Exchange 2007 POP3 recipient encoding problem, specifically line wraps
We just migrated from Exchange 2003 to 2007, we have a in house software with downloads emails via POP3, and parses them programmatically. This was working fine under Exchange 2003, the messages pulled from POP3 server on the old server came down in plain text, long lines were wrapped only on spaces, and the trailing space was retained. In Exchange 2007, long lines are wrapped hard at 76 characters, which break the parsing program, it can't cope with line breaks in the middle of words, or with out the trailing space before the "=" I have triedall of theMIME encoding settings for POP3, and I also tried resetting the ByteEncoderTypeFor7BitCharsets value to 0, per KB article: 946641. None of these have helped. I need to recreate the behavior under 2003, is there a way to do this? Would one of the other ByteEncoderTypeFor7BitCharsets options (2,5,6,13, 14) work? If so, what other effects will choosing one of those options have on general emails? Below are samples of the email source for two messages, the first is from 2007 and is the unwanted behaviour, the second is from 2003 and is the wanted behaviour. ##################### Bad Message format ############################# From - Fri Sep 05 11:01:37 2008X-Account-Key: account6X-UIDL: 38X-Mozilla-Status: 0001X-Mozilla-Status2: 00000000X-Mozilla-Keys: Received: from exchangeserver byexchangeserver with mapi; Fri, 5 Sep2008 11:01:36 -0700From: blankedTo: blankedCC: blankedDate: Fri, 5 Sep 2008 11:01:26 -0700Subject: test messageThread-Topic: test messageThread-Index: AckPgWoR6Zp07F/cQcq4pSA8qjcr6Q==Message-ID:<50A90E5A65CF0A4581BBC06FAFB9BC4E028F9402D1@exchangeserver>Accept-Language: en-USContent-Language: en-USX-MS-Exchange-Organization-AuthAs: InternalX-MS-Exchange-Organization-AuthMechanism: 04X-MS-Exchange-Organization-AuthSource: exchangeserverX-MS-Has-Attach:X-MS-Exchange-Organization-SCL: -1X-MS-TNEF-Correlator:acceptlanguage: en-USContent-Type: text/plain; charset="us-ascii"Content-Transfer-Encoding: quoted-printableMIME-Version: 1.0 The Word of the Day for September 5 is: wormhole \WERM-hohl\ noun 1 : a hole or passage burrowed by a worm *2 : a hypothetical structure of space-time envisioned as a long thin t=unnel connecting points that are separated in space and time Example sentence: Some science fiction writers speculate that wormholes will become the=intergalactic highways of the future. Did you know? If you associate "wormhole" with quantum physics and sci-fi, you'll pr=obably be surprised to learn that the word has been around since Shakespear=e's day -- although, admittedly, he used it more literally than most modern=writers. To Shakespeare, a "wormhole" was simply a hole made by a worm, bu=t even the Bard subtly linked "wormholes" to the passage of time; for examp=le, in The Rape of Lucrece, he notes time's destructive power "to fill with=worm-holes stately monuments." To modern astrophysicists, a wormhole isn't=a tunnel wrought by a slimy invertebrate, but a theoretical tunnel between=two black holes or other points in space-time, providing a shortcut betwee=n its end points. . ######################################## Good Message Format ####################### From - Fri Sep 05 12:10:29 2008X-Account-Key: account8X-UIDL: AAgdqIQAAAgsyLFNzsWqb+kE+cSnoqdwX-Mozilla-Status: 0001X-Mozilla-Status2: 00000000X-Mozilla-Keys: X-MimeOLE: Produced By Microsoft Exchange V6.5Received: by oldexchangeserverid <01C90F8B.8B545AF4@oldexchangeserver>; Fri, 5 Sep 2008 12:13:56 -0700MIME-Version: 1.0Content-Type: multipart/alternative;boundary="----_=_NextPart_001_01C90F8B.8B545AF4"Content-class: urn:content-classes:messageSubject: test messageDate: Fri, 5 Sep 2008 12:13:12 -0700Message-ID: <C1DAA89D273E124F9BA96B333452F2B2ED7E54@oldexchangeserver>X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: test messageThread-Index: AckPi3Do/Jfohcb7TVSDS8qoWUEhqw==From: blankedTo: blankedCc: blanked This is a multi-part message in MIME format. ------_=_NextPart_001_01C90F8B.8B545AF4Content-Type: text/plain;charset="iso-8859-1"Content-Transfer-Encoding: quoted-printable The Word of the Day for September 5 is:=20wormhole \WERM-hohl\ noun 1 : a hole or passage burrowed by a worm *2 : a hypothetical structure of space-time envisioned as a long =thin tunnel connecting points that are separated in space and timeExample sentence: Some science fiction writers speculate that wormholes will become =the intergalactic highways of the future.Did you know? If you associate "wormhole" with quantum physics and sci-fi, you'll =probably be surprised to learn that the word has been around since =Shakespeare's day -- although, admittedly, he used it more literally =than most modern writers. To Shakespeare, a "wormhole" was simply a hole =made by a worm, but even the Bard subtly linked "wormholes" to the =passage of time; for example, in The Rape of Lucrece, he notes time's =destructive power "to fill with worm-holes stately monuments." To modern =astrophysicists, a wormhole isn't a tunnel wrought by a slimy =invertebrate, but a theoretical tunnel between two black holes or other =points in space-time, providing a shortcut between its end points.=20 =20 ------_=_NextPart_001_01C90F8B.8B545AF4Content-Type: text/html;charset="iso-8859-1"Content-Transfer-Encoding: quoted-printable <HTML dir=3Dltr><HEAD>=0A=<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR></HEAD>=0A=<BODY>=0A=<DIV><FONT face=3DArial color=3D#000000 size=3D2>The Word of the Day for =September 5 is: </FONT></DIV>=0A=<DIV><FONT face=3DArial color=3D#000000 size=3D2>wormhole&nbsp;&nbsp; =\WERM-hohl\&nbsp;&nbsp; noun<BR>&nbsp;&nbsp;&nbsp;&nbsp; 1 : a hole or =passage burrowed by a worm<BR>&nbsp;&nbsp;&nbsp; *2 : a hypothetical =structure of space-time envisioned as a long thin tunnel connecting =points that are separated in space and time</FONT></DIV>=0A= <DIV><FONT face=3DArial color=3D#000000 size=3D2>Example =sentence:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Some science fiction writers =speculate that wormholes will become the intergalactic highways of the =future.</FONT></DIV>=0A=<DIV><FONT face=3DArial color=3D#000000 size=3D2>Did you =know?<BR>&nbsp;&nbsp;&nbsp;&nbsp; If you associate "wormhole" with =quantum physics and sci-fi, you'll probably be surprised to learn that =the word has been around since Shakespeare's day -- although, =admittedly, he used it more literally than most modern writers. To =Shakespeare, a "wormhole" was simply a hole made by a worm, but even the =Bard subtly linked "wormholes" to the passage of time; for example, in =The Rape of Lucrece, he notes time's destructive power "to fill with =worm-holes stately monuments." To modern astrophysicists, a wormhole =isn't a tunnel wrought by a slimy invertebrate, but a theoretical tunnel =between two black holes or other points in space-time, providing a =shortcut between its end points.</FONT></DIV>=0A= <DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT>&nbsp;</DIV>=0A=<DIV><FONT face=3DArial color=3D#000000 =size=3D2><BR></FONT>&nbsp;</DIV></BODY></HTML>------_=_NextPart_001_01C90F8B.8B545AF4--
September 5th, 2008 10:41pm

Hi,Did you ever find a solution to this? I am having the same problemRemi
Free Windows Admin Tool Kit Click here and download it now
February 5th, 2009 2:55pm

Hi,You need to install KB935411 http://support.microsoft.com/kb/935411.Zoran Stamenkovic MVPMCT, MCITP, MCSE, MCDA, ...MCDBA-MCSE
October 31st, 2009 12:49am

Isnt this an Exchange 2003 patch? We are having issues with Chinese Charsets when the recipient computer is Exchange 2007.
Free Windows Admin Tool Kit Click here and download it now
December 2nd, 2009 5:48pm

Also having the same issue with Exchange 2007. Has anyone figured out the issue ? Appears to happen with all email with "MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars This is a multi-part message in MIME format."
March 1st, 2011 7:09am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics