Code editor window with a thin-line icon of an open envelope with documents and a paperclip, listing IMAP attachments in C#

List IMAP Attachments in C# Without Downloading Messages – Aspose.Email

ImapClient.ListAttachments lets you quickly enumerate attachment metadata from an IMAP mailbox without pulling the full message body. This guide shows the C# code needed to list names, sizes, and MIME types efficiently.
November 19, 2026 · Margarita Samodurova