Integration Server 10.11 | Built-In Services Reference Guide | MIME Folder | Summary of Elements in this Folder | pub.mime:getNumParts
 
pub.mime:getNumParts
WmPublic. Returns the number of body parts in the specified MIME object.
Input Parameters
mimeData
Document MIME object whose parts you want to count. (This IData object is produced by pub.mime:createMimeData.)
Output Parameters
numParts
String The number of body parts in the MIME object.
Usage Notes
This service operates on the MIME object (mimeData) produced by createMimeData.
For general information about MIME messages and using the MIME services, see the MIME-S/MIME Developer’s Guide.
See Also
pub.mime:createMimeData
pub.mime:getBodyPartContent
pub.mime:addBodyPart