Click or drag to resize

IMailStoreExtractorGetNextMessage Method

Gets the next message object from the mail store as a ChildDocument object where the message object's contents are contained in the DocumentBytes property of the returned ChildDocument.

Namespace: OpenDiscoverSDK.Interfaces.Extractors
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
ChildDocument GetNextMessage()

Return Value

ChildDocument
Native email message object as a ChildDocument or returns null when there are no more email messages in the mail store. The email object's native data is contained in the DocumentBytes property.
Remarks

Do NOT mix use of methods GetNextMessage and GetMessagesByNodeId(ListInt64) using the same IMailStoreExtractor instance.

See Also