mimeData | Object The MIME object to which to add the header fields. |
mimeHeader | Document (optional) The header fields 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 value 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 If you set these values in mimeHeader, the wm.tn.mime:writeToStream service overwrites the settings at run time. |
mimeData | Object The MIME object with the added header. |