Simple Mail and Post Office Protocol for .Net (SmtPop)

POP3Client.GetList Method ()

Sends LIST command

public string GetList();

Return Value

A string containing the server answer

Remarks

The LIST command return the current contents of the connected mailbox. in the form of a block of lines. for each messages in mailbox the line as the form :

+OK nnn BBBB where nnn indicate the message number in the mailbox and BBBB the message size in Bytes

Exceptions

Exception Type Condition
Exception Raise in case of communication error
POP3Exception Raise if the server return an error condition

See Also

POP3Client Class | SmtPop Namespace | POP3Client.GetList Overload List