Hunny Software Library Reference

Pop3Client.Stat Method 

Sends the STAT command.

[Visual Basic]
Public Sub Stat()
[C#]
public void Stat();

Remarks

The STAT command requests that the server report the status of the mailbox. The status report includes the number of messages in the mailbox and the combined number of bytes in the mailbox.

The server's response to the STAT command is a single line reply. To check for success, get the ReplyCode property. To get the number of messages and the number of bytes in the POP3 mailbox, get the ReplyText property.

Exceptions

Exception TypeCondition
ExceptionIf a network or protocol error occurs.

See Also

Pop3Client Class | Hunny.Mail Namespace | POP3 STAT command