mimeData | Object The MIME object containing the headers that you want to reset. |
mimeHeader | Document (optional) The header fields that you want to add to the MIME object. Key names represent the names of the header fields. The values of the keys represent the values of the header fields. For example, if you want to add the following header fields: X-Doctype: RFQ X-Severity: 10 You would set the values of the keys of the mimeHeader as follows: Value of key X-Doctype as RFQ Value of key X-Severity as 10 Be aware that the
wm.tn.mime:writeToStream service automatically inserts the following MIME headers when it generates the MIME message: Message-ID MIME-Version Content-Type Content-Transfer-Encoding If you set these values in mimeHeader, the
wm.tn.mime:writeToStream service overwrites them at run-time. |