Pop3Client.GetMessageCount

GetMessageCount(IConnection)

Gets the message count

public int GetMessageCount(IConnection connection)
ParameterTypeDescription
connectionIConnectionConnection to a server

Return Value

message count

See Also


GetMessageCount(IConnection, bool)

Gets the message count

public int GetMessageCount(IConnection connection, bool closeTransaction)
ParameterTypeDescription
connectionIConnectionConnection to a server
closeTransactionBooleanIndicates if current transaction has to be closed, before the list is retrieved.

Return Value

message count

See Also


GetMessageCount()

Gets the message count

public int GetMessageCount()

Return Value

message count

See Also


GetMessageCount(bool)

Gets the message count

public int GetMessageCount(bool closeTransaction)
ParameterTypeDescription
closeTransactionBooleanIndicates if current transaction has to be closed, before the list is retrieved.

Return Value

message count

See Also