Retrieve the number of messages in the mailbox.

Namespace:  Rebex.Net
Assembly:  Rebex.Pop3 (in Rebex.Pop3.dll)

Syntax

Visual Basic
Public Function GetMessageCount As Integer
C#
public int GetMessageCount()

Return Value

Number of messages.

Remarks

Uses POP3 STAT command.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also