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: ![]() ![]() 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.
| ||
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.
| ||
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: ![]() ![]() | ||
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: ![]() ![]() | ||
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: ![]() ![]() |
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.” |