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

POP3Client.GetStat Method 

Send POP STAT command

public string GetStat();

Return Value

A string containing the server answer

Remarks

The STAT command return the current details of the connected mailbox. in the form :
+OK nnn BBBB where nnn indicate the number of messages in the mailbox and BBBB the total number of bytes in mailbox

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