:GetMessageText()


Class

     aprMIME()

 

Syntax

     :GetMessageText( [nOffset], [hMessage] ) -> cText

 

Parameters

 

nOffset

Optional. Offset from within the Message Part. Default is 0.

 

hMessage

Optional. Handle of the message to act on. Provided during :CreateMessage() operation

 

Return

Returns the text of the current Message Part.

If an error occurs, the :GetMessageText() returns an empty string.

Check :nErr and :cErr for more information.

 

Description

The :GetMessageText() method returns the text of the current message part.

 

See Also

:AppendMessageText(), :ClearMessageText(), :CompareMessageText(), :ExportMessageText(), :ImportMessage(), :SetMessageText()