%Net.MIMEWriter extends %Library.RegisteredObject
%Net.MIMEWriter outputs a MIME document as represented by a top level %Net.MIMEPart
with multiple parts specified.
Property Inventory (Including Private)
Method Inventory (Including Private)
Properties (Including Private)
OutputDestination as %String [ Private , InitialExpression = "device" ];
Destination for %Net.MIMEWriter output.
Possible values are "file", "stream" and "device".
Property methods: OutputDestinationDisplayToLogical(), OutputDestinationGet(), OutputDestinationIsValid(), OutputDestinationLogicalToDisplay(), OutputDestinationLogicalToOdbc(), OutputDestinationNormalize(), OutputDestinationSet()
Stream for output to stream or file.
Will store a stream,
but declare as %RegisteredObject to prevent auto create of serial object.
Property methods: OutputStreamGet(), OutputStreamIsValid(), OutputStreamSet()
Methods (Including Private)
sets output to the current device which
is the default if no output method is specified.
sets output to be directed to a
new file, named
The file is created with parameters "WNS".
sets output to be directed to a stream.
is the exported stream.
is the oref of a stream, the MIME document will
be written to this existing stream at the current position.
is "", then a new %GlobalBinaryStream will be
created to contain the MIME document and its oref returned.
In this case,
must be passed by reference.
Write a header
WriteMIMEBody(message As as %Net.MIMEPart) %Status
outputs 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.
Inherited Methods (Including Private)