{
Iterator iMimeParts = partList.iterator();
while (iMimeParts.hasNext())
{
MimePart mimePart = (MimePart)iMimeParts.next();
pw.print(mimePart.toXMLString(namespaceName));
}
}
// Add end message element
pw.println("</" + nsName + WSIConstants.ELEM_MESSAGE_CONTENT_WITH_ATTACHMENTS + ">");