Pop3ClientGetMessageCount Method (IConnection, Boolean)

Gets the message count

Namespace:  Aspose.Email.Clients.Pop3
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public int GetMessageCount(
	IConnection connection,
	bool closeTransaction
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
closeTransaction
Type: SystemBoolean
Indicates if current transaction has to be closed, before the list is retrieved.

Return Value

Type: Int32
message count
See Also