Downloads a message with a specified number from the server and loads it into an instance of MailMessage.

Namespace:  Rebex.Net
Assembly:  Rebex.Pop3 (in Rebex.Pop3.dll)

Syntax

Visual Basic
Public Function GetMailMessage ( _
	sequenceNumber As Integer _
) As MailMessage
C#
public MailMessage GetMailMessage(
	int sequenceNumber
)

Parameters

sequenceNumber
Type: System..::..Int32
The sequence number of the message to download.

Return Value

A downloaded message.

Remarks

Represents POP3 RETR command.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also