method %OnClose()
as %Status
Cleanup the temp global used to store the message.
method Connect(PopServer As %String, UserName As %String, Password As %String)
as %Status
see %Net.FetchMailProtocol Connect
method ConnectPort(PopServer As %String, PopPort As %Integer = 110, UserName As %String, Password As %String)
as %Status
see %Net.FetchMailProtocol Connect
method DeleteMessage(MessageNumber As %Integer)
as %Status
see %Net.FetchMailProtocol DeleteMessage
method Fetch(MessageNumber As %Integer, ByRef MailMsg As %Net.MailMessage, Delete As %Boolean = 0, messageStream As %BinaryStream)
as %Status
see %Net.FetchMailProtocol Fetch
method FetchFromStream(messageStream As %BinaryStream, ByRef MailMsg As %Net.MailMessage)
as %Status
see %Net.FetchMailProtocol FetchFromStream
method FetchMessage(MessageNumber As %Integer, ByRef From As %String, ByRef To As %String, ByRef Date As %String, ByRef Subject As %String, ByRef MessageSize As %Integer, ByRef MsgHeaders As %ArrayOfDataTypes, ByRef MailMsg As %Net.MailMessage, Delete As %Boolean = 0)
as %Status
see %Net.FetchMailProtocol FetchMessage
method FetchMessageHeaders(MessageNumber As %Integer, ByRef MsgHeadersArray As %String)
as %Status
see %Net.FetchMailProtocol FetchMessageHeaders
method FetchMessageInfo(MessageNumber As %Integer, Lines As %Integer, ByRef From As %String, ByRef To As %String, ByRef Date As %String, ByRef Subject As %String, ByRef MessageSize As %Integer, ByRef MsgHeaders As %ArrayOfDataTypes, ByRef MessageText As %String)
as %Status
This method retrieves a single message. MessageNumber must be a
valid message number and the message must not be currently
marked for deletion.
An upper bound is put on number of lines of message text
retrieved by Lines.
The text of the retrieved message is returned in the MessageText argument as a %String.
FetchMessageInfo is typically used to get From, Date, and other
header information without actually getting the message text. This
allows one to filter out messages from parties one wishes to exclude
or to zero in on messages one particularly wants. Since getting
message text is something that can happen over a slow modem, this
is a desirable feature.
method GetAttachedEmail(msgpart As %Net.MailMessagePart, Output mailmsg As %Net.MailMessage)
as %Status
Convert the text of an attached email (Content-Type: message/rfc822) to a %Net.mailMessage.
method GetMailBoxStatus(ByRef NumberOfMessages As %Integer, ByRef NumberOfBytes As %Integer)
as %Status
see %Net.FetchMailProtocol GetMailBoxStatus
method GetMessageUID(MessageNumber As %Integer, ByRef UniqueID As %String)
as %Status
see %Net.FetchMailProtocol GetMessageUID
method GetMessageUIDArray(MessageNumber As %String = "", ByRef ListOfUniqueIDs As %ArrayOfDataTypes)
as %Status
see %Net.FetchMailProtocol GetMessageUIDArray
method GetSizeOfMessages(MessageNumber As %String = "", ByRef ListOfSizes As %ArrayOfDataTypes)
as %Status
see %Net.FetchMailProtocol GetSizeOfMessages
method Ping()
as %Status
see %Net.FetchMailProtocol Ping
method QuitAndCommit()
as %Status
see %Net.FetchMailProtocol QuitAndCommit
method QuitAndRollback()
as %Status
see %Net.FetchMailProtocol QuitAndRollback
method RollbackDeletes()
as %Status
see %Net.FetchMailProtocol RollbackDeletes