Pop3Client.GetMessageCount Method

OpenPop.NET

OpenPop.NET POP3 Library Documentation

Pop3Client.GetMessageCount Method

Get the number of messages on the server using a STAT command

public int GetMessageCount();

Return Value

The message count on the server

Exceptions

Exception Type Condition
PopServerException If the server did not accept the STAT command

See Also

Pop3Client Class | OpenPop.Pop3 Namespace