input | InputStream (optional) The java.io.InputStream object that contains the MIME message to parse. Specify input to parse a MIME message. |
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, to add the following header fields: X-Doctype: RFQ X-Severity: 10 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 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 runtime. If you specify mimeHeader, you must also specify subtype or the service throws an exception. Note: This service ignores this parameter when you pass input to the service. |
subType | String (optional) The subtype component to use for the message's Content-type header. When you specify related, the service sets the message's Content-type header to “multipart/related.” Specify subtype when you want to create a multipart MIME message. |
mimeData | Object A MIME object. If you passed input to this service, mimeData contains the parsed MIME message. If you did not pass input to this service, mimeData is empty. Note: You cannot use this object with the services in the pub.mime folder. |
encrypted | String (optional) Whether input was an encrypted message. This string is present only if you specified a non-null value for input. Valid values are: true - Original message in input was encrypted. false - Original message in input was not encrypted. |
signed | String (optional) Whether input was a signed message. This string is present only if you specified a non-null value for input. Valid values are: true - Original message in input was signed. false - Original message in input was not signed. |
certsOnly | String (optional) Whether input contained only digital certificates. This string is present only if you specified a non-null value for input. Valid values are: true - Original message in input contained only digital certificates. false - Original message in input contained a regular payload. |
For this input variable... | Specify... |
input | The InputStream object that you want to parse. To parse an arbitrarily large MIME message, this InputStream object must implement the javax.mail.internet.SharedInputStream interface. Use the wm.tn.mime:writeToStream service to obtain an instance of a SharedInputStream. |
mimeHeader | null |
subtype | null |
For this input variable... | Specify... |
input | null |
mimeHeader | Any additional headers. |
subtype | The subtype of the message. When you specify related, the service sets the MIME message's Content-type header to “multipart/related.” |