IAsyncPop3Client.GetMessageInfoAsync

GetMessageInfoAsync(string, Pop3ListFields, IConnection, CancellationToken)

Gets the information for that message

public Task<Pop3MessageInfo> GetMessageInfoAsync(string uniqueId, 
    Pop3ListFields fields = Pop3ListFields.Main, IConnection connection = null, 
    CancellationToken token = default)
ParameterTypeDescription
connectionStringConnection to a server
uniqueIdPop3ListFieldsThe unique id of the message
fieldsIConnectionThe fields that we want get
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

The message information.

See Also


GetMessageInfoAsync(int, Pop3ListFields, IConnection, CancellationToken)

Gets the information for that message

public Task<Pop3MessageInfo> GetMessageInfoAsync(int sequenceNumber, 
    Pop3ListFields fields = Pop3ListFields.Main, IConnection connection = null, 
    CancellationToken token = default)
ParameterTypeDescription
connectionInt32Connection to a server
sequenceNumberPop3ListFieldsThe sequence number of the message
fieldsIConnectionThe fields that we want get
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

The message information.

See Also