according to WAP-203-WSP 8.5.3 a multipart entry is as follows:

HeadersLen
DataLen
ContentType
Headers
Data

If I have a multipart/mixed message where one of the the parts is multipart/alternative, as these parts encoded as mulipart entries with the data section? ... would it be sort of recursive in a way?

at the moment when i submit a message to a live mmsc i get a message validation error back

e.g. if i had a messge like this...

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_01C335B4.0966BFE0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C335B4.0966BFE0"


------_=_NextPart_001_01C335B4.0966BFE0
Content-Type: text/plain;
charset="iso-8859-1"

some test text....


------_=_NextPart_001_01C335B4.0966BFE0
Content-Type: text/html;
charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>

<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY><BR><BR>
<P><FONT size=2>some test text....</FONT></P></BODY></HTML>

------_=_NextPart_001_01C335B4.0966BFE0--

------_=_NextPart_000_01C335B4.0966BFE0
Content-Type: image/gif;
name="logo.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="logo.gif"

R0lGODlhdQAxALMAAGq12qHQ6Mnk8UGgz/L5/E2m0+Xy+a7X64XC4Fqt1tns9ZHI5He73bvd7jOZ
zP///yH5BAAAAAAALAAAAAB1ADEAAAT/8MlJq7046827/2AojmRpnmiqrmzrvnAsz3Rt33iu73zv
/8CgcEgsGo/IpHLJbDqf0Kh0Sq1arxzCIUDA3gSIgcOR8M4Mi8J47TC/CIEEm41wsxSM+boQMBAV
AgImBoFdJmpzAwiCKwCOjwAHDweQAAh+DwuOEwGIYwsPcIgFknByDgWgDwoAdIaPARKsAAoZYmsM
B10GnQOSJ3oOsQF6A36tbQ8IawNisacFrbHI0QOxBrcJiGUPbH4CY4wXBwN8flrIayhji4ECfsQO
ggtjksgPDWMDjASAnxMGDLADqGxMLALIJNF5AE5ehwbLiq0TZiGeoHwOGjy4l8chBQX6/3RJIBDS
0AM1AyY0rKNvDKFwGhQsuJUIQS1gegTFSwBADLd79yykc8CgS8QxDGqNAUBhaTdhahbBxEAvWCST
OOfo1HMT6BgMB045YDqpI6qnZCU4NXjA4NQLesyFCsBlYqwK8QI0EMNAwr2Ivy4YQETBwCkFpwxh
BGXwpINb4oTqsymhgVluJhrjhRmxyz2Qj0UGnHSO8LtQyHixI2AYZuO2ayJXgKNx1Uw9E+cMg4lx
2tdJevrqYTyHrNg1qjR7km2B1/GFWdns9uhz4+9VCEZNy3aXwS0+JuMsrf30bkOPF/AEQ7UAkx0V
npgteu+C5liR9F2Qk5u/v///AAYo4AmABBZo4IFBRAAAOw==

------_=_NextPart_000_01C335B4.0966BFE0--