Hello,
Ok, See my Attachment for your test.
This email in Attachment is send from Outlook to Exchange Server.
Well, I think that Exchange Server is responsible for this error.
Look at the summarised data below , especially around the boundary delimiters.
boundary="----_=_NextPart_000_01C5B525.93768484" ----(A) boundary for the OUTER
message
boundary="----_=_NextPart_002_01C5B525.93768484" ----(B) boundary for the INNER
message
So this message clearly violates the rule which RFC2046 says:
"The boundary delimiter MUST NOT appear inside any of the encapsulated parts,"
======below is the summary of the structure of the email you sent me with some
comments((A)(B))===
From: "Song, Zhentao" Zhentao.Song@...
To: "Song, Zhentao" Zhentao.Song@...
Subject: Email for TMailMessage2000 component.
Date: Fri, 9 Sep 2005 12:02:24 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----_=_NextPart_000_01C5B525.93768484"----(A0) boundary for the OUTER
message
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C5B525.93768484 ----(A1) ---- begin 1st part (text/plain
part) of the OUTER message
Content-Type: text/plain
this is the main body .
------_=_NextPart_000_01C5B525.93768484 ----(A2) begin 2nd part (rfc822 part) of
the OUTER message
Content-Type: message/rfc822
Content-Description: Email for TMailMessage2000 component.
Message-ID: 62AF2E1C424CAC4A8BA08BB459C385350A941BA9@...
From: "Song, Zhentao" Zhentao.Song@...
To: "Song, Zhentao" Zhentao.Song@...
Subject: Email for TMailMessage2000 component.
Date: Fri, 9 Sep 2005 11:51:10 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----_=_NextPart_002_01C5B525.93768484" ----(B0) boundary for the
INNER message
This is a MIME multipart message.
------_=_NextPart_002_01C5B525.93768484 ----(B1) begin 2nd part (text/plain
part) of the INNER message
Content-Type: text/plain
this is the body part of the attached rfc822 message
------_=_NextPart_002_01C5B525.93768484 ----(B2) begin 2nd part (msword part) of
the INNER message
Content-Type: application/msword;
name="WordAttachment.doc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="WordAttachment.doc"
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAALgAAAAAAAAAA
EAAAMAAAAAEAAAD+////AAAAAC8AAAD/////////////////////////////////////////////
///////////////////(base64 encoded data)......
AAMAAAABAAAAwAEAAAcAAAAAAAAAQAAAAAEAAAD0AAAAAAAAgPwAAAACAAAABAEAAAMAAAAMAQAA
BAAAAA==
------_=_NextPart_002_01C5B525.93768484-- ----(B3) end of the 2nd part (msword
part) of the INNER message
------_=_NextPart_000_01C5B525.93768484-- ----(A3) end of the 2nd part (rfc822
part) of the OUTER message