Application Integration (On-Premises) : Integration Server Built-In Services : MIME 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
Examples
For examples of how to use this service, see the following service in the certified samples area of the Knowledge Center on the Empower Product Support Website https://empower.softwareag.com.
samples.mime:extract_MultipartMIME
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback