Downloads the message with a specified number from the server and writes
its data into a supplied stream.
Namespace:
Rebex.Net
Assembly:
Rebex.Pop3 (in Rebex.Pop3.dll)
Syntax
Visual Basic |
---|
Public Function GetMessage ( _ sequenceNumber As Integer, _ output As Stream _ ) As Long |
C# |
---|
public long GetMessage( int sequenceNumber, Stream output ) |
Parameters
- sequenceNumber
- Type: System..::..Int32
The sequence number of the message to download.
- output
- Type: System.IO..::..Stream
Stream that will receive the message.
Return Value
The length of the message in bytes.Remarks
Represents POP3 RETR command.