Integration Server 10.3 | Built-In Services Reference Guide | MIME Folder | Summary of Elements in this Folder | pub.mime:getMimeHeader
 
pub.mime:getMimeHeader
WmPublic. Returns the list of message headers from a specified MIME object.
Input Parameters
mimeData
Document MIME object whose message headers you want to retrieve. (This IData object is produced by pub.mime:createMimeData.)
Output Parameters
mimeHeader
Document Conditional. An IData object containing the message headers. Key names represent the names of the header fields. The value of a key represents the value of the header fields.
For example, if the original message contained the following message header fields:
Message-ID: <002e01c0f150$6f33010a@sgx.com>
From: "Purch01@GSX.com" <Purch01@GSX.com>To:
<EXPEst@exprint.com>
MIME-Version: 1.0
Content-Type: text/xml
X-Doctype: RFQ
X-Severity: 0
getMimeHeader would return the following:
Key
Value
Message-ID
<002e01c0f150$6f33010a@sgx.com>
From
"Purch01@GSX.com" <Purch01@GSX.com>
To
<EXPEst@exprint.com>
MIME-Version
1.0
Content-Type
text/xml
X-Doctype
RFQ
X-Severity
0
Usage Notes
This service operates on the MIME object (mimeData) produced by pub.mime: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:addMimeHeader
pub.mime:getBodyPartHeader