Hunny Software Library Reference

Pop3Client.List Method (Int32)

Sends the LIST command with a message number argument.

[Visual Basic]
Overloads Public Sub List( _
   ByVal msgNum As Integer _
)
[C#]
public void List(
   int msgNum
);

Parameters

msgNum
The message sequence number of a message in the POP3 mailbox.

Remarks

The LIST command with a message sequence number argument request that the server report the size of the specified message.

The server's response is a single line reply. To get the size of the specified message, get the ReplyText property. The reply text string contains the message sequence number, a space character, and the size of the message in bytes.

Exceptions

Exception TypeCondition
ExceptionIf a network or protocol error occurs.

See Also

Pop3Client Class | Hunny.Mail Namespace | Pop3Client.List Overload List | POP3 LIST command