IAsyncImapClient.FetchAttachmentAsync
IAsyncImapClient.FetchAttachmentAsync method
Fetches the specified attachment.
public Task<Attachment> FetchAttachmentAsync(int sequenceNumber, string attachmentName, 
    IConnection connection = null, CancellationToken token = default)
| Parameter | Type | Description | 
|---|---|---|
| connection | Int32 | Connection to a server. | 
| sequenceNumber | String | The sequence number of a message. | 
| attachmentName | IConnection | A name of attachment. | 
| token | CancellationToken | Propagates notification that operations should be canceled. | 
Return Value
Attachment that represents the attachment.
See Also
- class Attachment
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email