FetchAttachment

ImapClient.FetchAttachment method (1 of 2)

Fetches the specified attachment

public Attachment FetchAttachment(IConnection connection, int sequenceNumber, string attachmentName)
Parameter Type Description
connection IConnection Connection to a server
sequenceNumber Int32 The sequence number of a message
attachmentName String A name of attachment

Return Value

Attachment that represents attachment

See Also


ImapClient.FetchAttachment method (2 of 2)

Fetches the specified attachment

public Attachment FetchAttachment(int sequenceNumber, string attachmentName)
Parameter Type Description
sequenceNumber Int32 The sequence number of a message
attachmentName String A name of attachment

Return Value

Attachment that represents attachment

See Also