GetReceivedItemText (NotesDocument - LotusScript®)

Gets the text values of the Received items in a mail document.

Note: This method is new with Release 6.

Defined in

NotesDocument

Syntax

stringArray = notesDocument .GetReceivedItemText( )

Return value

stringArray

Array of type String. The text values of the Received items, one item per array element.

Usage

This method applies to Received items generated from an Internet mail message. The items can be in MIME or Notes® format.

If the document has no Received items, this method returns an array of one element whose value is an empty string.

A Received item with an incorrect format (not an Internet mail message) raises error lsERR_NOTES_INVALID_RECEIVEDITEM (4639) "Received Item is not standard format - access with GetItemValue."

Example