ImapClient.ListMessage

ListMessage(IConnection, int, IEnumerable<string>)

Gets information about a message.

public ImapMessageInfo ListMessage(IConnection connection, int sequenceNumber, 
    IEnumerable<string> messageExtraFields)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.

Return Value

Returns ImapMessageInfo objects

See Also


ListMessage(IConnection, int)

Gets information about a message.

public ImapMessageInfo ListMessage(IConnection connection, int sequenceNumber)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of message

Return Value

Returns ImapMessageInfo objects

See Also


ListMessage(int, IEnumerable<string>)

Gets information about a message.

public ImapMessageInfo ListMessage(int sequenceNumber, IEnumerable<string> messageExtraFields)
ParameterTypeDescription
sequenceNumberInt32The sequence number of message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.

Return Value

Returns ImapMessageInfo objects

See Also


ListMessage(int)

Gets information about a message.

public ImapMessageInfo ListMessage(int sequenceNumber)
ParameterTypeDescription
sequenceNumberInt32The sequence number of message

Return Value

Returns ImapMessageInfo objects

See Also


ListMessage(IConnection, string, IEnumerable<string>)

Gets information about a message.

public ImapMessageInfo ListMessage(IConnection connection, string uniqueId, 
    IEnumerable<string> messageExtraFields)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.

Return Value

Returns ImapMessageInfo objects

See Also


ListMessage(IConnection, string)

Gets information about a message.

public ImapMessageInfo ListMessage(IConnection connection, string uniqueId)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message

Return Value

Returns ImapMessageInfo objects

See Also


ListMessage(string)

Gets information about a message.

public ImapMessageInfo ListMessage(string uniqueId)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message

Return Value

Returns ImapMessageInfo objects

See Also


ListMessage(string, IEnumerable<string>)

Gets information about a message.

public ImapMessageInfo ListMessage(string uniqueId, IEnumerable<string> messageExtraFields)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
messageExtraFieldsIEnumerable`1List of extra parameters for a message wich will be requested.

Return Value

Returns ImapMessageInfo objects

See Also