class %Net.MIMEReader
extends %RegisteredObject
%Net.MIMEReader inputs a MIME document and represents by a top level %Net.MIMEPart
with multiple parts specified.
Parameters
|
Properties
|
Methods
|
Queries
|
Indices
|
ForeignKeys
|
Triggers
|
|
|
10
|
|
|
|
|
classmethod DecodeBase64(input As %String)
as %String
Decode a line of the base64 encoded body.
The length of the input must be a multiple of 4.
classmethod DecodeHeader(input As %String)
as %String
Decode and return the MIME header value passed in input argument
according to RFC 2047.
classmethod DecodeQP(input As %String)
as %String
Decode a line of the quoted printable encoded body
method OpenFile(source As %String)
as %Status
Open file that contains the MIME message.
method OpenStream(source As %AbstractStream)
as %Status
Open stream that contains the MIME message.
method ReadMIMEBody(message As %Net.MIMEPart)
as %Status
ReadMIMEBody parses the MIME body in previously opened file or stream
and makes it the body the MIME message represented by message %Net.MIMEPart.
Headers for the MIME message are assumed to have been processed and included in message.
method ReadMIMEMessage(Output message As %Net.MIMEPart)
as %Status
ReadMIMEMessage parses the MIME message in previously opened
file or stream, and creates a %Net.MIMEPart based on this MIME message.
method readBody(message As %Net.MIMEPart, messageBoundary As %String, ByRef lastPart As %Boolean)
as %Status
Read the body of the current message part.
method readHeader(Output message As %Net.MIMEPart, isMultiPart As %Boolean)
as %Status
Read the headers of the current message part and create the %Net.MIMEPart.