PowerTCP Mail for .NET
Get(Int32,Int32,ImapMessageInfo) Method




Index of first message to get.
Number of sequential messages to get.
Message sections to update.
Retrieves and updates the specified range of messages contained in the mailbox.
Syntax
Public Overloads Function Get( _
   ByVal startIndex As Integer, _
   ByVal length As Integer, _
   ByVal sections As ImapMessageInfo _
) As ImapMessage()
Dim instance As Mailbox
Dim startIndex As Integer
Dim length As Integer
Dim sections As ImapMessageInfo
Dim value() As ImapMessage
 
value = instance.Get(startIndex, length, sections)
public ImapMessage[] Get( 
   int startIndex,
   int length,
   ImapMessageInfo sections
)
public: ImapMessage*[]* Get( 
   int startIndex,
   int length,
   ImapMessageInfo sections
) 

Parameters

startIndex
Index of first message to get.
length
Number of sequential messages to get.
sections
Message sections to update.

Return Value

Array of ImapMessage objects retrieved.
Exceptions
ExceptionDescription
ProtocolExceptionBad IMAP protocol response received from server.
Remarks
Retrieves sections of a message range. This method uses the IMAP FETCH command and UUIDs to retrieve message content. This method is useful for bulk operations. Use Get to retrieve a single message.
See Also

Reference

Mailbox Class
Mailbox Members
Overload List


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic