Pop3Client.GetMessageSize

GetMessageSize(IConnection, string)

Gets the size of the message

public long GetMessageSize(IConnection connection, string uniqueId)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique id of the message

Return Value

size of the message in bytes

See Also


GetMessageSize(string)

Gets the size of the message

public long GetMessageSize(string uniqueId)
ParameterTypeDescription
uniqueIdStringThe unique id of the message

Return Value

size of the message in bytes

See Also


GetMessageSize(IConnection, int)

Gets the size of the message

public long GetMessageSize(IConnection connection, int sequenceNumber)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message

Return Value

size of the message in bytes

See Also


GetMessageSize(int)

Gets the size of the message

public long GetMessageSize(int sequenceNumber)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message

Return Value

size of the message in bytes

See Also