ImapClientFetchAttachment Method (IConnection, Int32, String)

Fetches the specified attachment

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Attachment FetchAttachment(
	IConnection connection,
	int sequenceNumber,
	string attachmentName
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
sequenceNumber
Type: SystemInt32
The sequence number of a message
attachmentName
Type: SystemString
A name of attachment

Return Value

Type: Attachment
Attachment that represents attachment
See Also