%Net.MIMEWriter outputs a MIME document as represented by a top level %Net.MIMEPart with multiple parts specified.
Destination for %Net.MIMEWriter output. Possible values are "file", "stream" and "device".
Stream for output to stream or file. Will store a stream, but declare as %RegisteredObject to prevent auto create of serial object.
Append encoded data to output buffer
Write stream -- base64 encoded
Write stream -- quoted printable encoded
Write stream - not encoded
OutputToDevicesets output to the current device which is the default if no output method is specified.
OutputToFilesets output to be directed to a new file, named filename. The file is created with parameters "WNS".
OutputToStreamsets output to be directed to a stream. export is the exported stream. If export is the oref of a stream, the MIME document will be written to this existing stream at the current position. If export is "", then a new %GlobalBinaryStream will be created to contain the MIME document and its oref returned. In this case, export must be passed by reference.
Output buffered output
Write the body.
Write a header
WriteMIMEBodyoutputs the body of a MIME multipart message. If the messsage is multipart, the caller is expected to output needed headers. If the message, is not multipart, then headers are output.
WriteMIMEMessageoutputs a MIME message.
Write a MIME part
Return integer or hex padded to 2 place with leading zeros