getReceivedItemText (Document - Java)

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

Note: This method is new with Release 6.5.

Defined in



public java.util.Vector getReceivedItemText()
    throws NotesException

Return value


Vector of String elements. The text values of the Received items, one item per element.


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 a vector of one element whose value is an empty string.

A Received item with an incorrect format (not an Internet mail message) throws NotesError.NOTES_ERR_INVALID_RECEIVEDITEM (4639) "Received Item is not standard format - access with GetItemValue."