
## ListAttachments (1 of 2) {#listattachments_1}

Gets the message attachments list. Gets an information for each attachment in message.

**Returns:** ImapMessageInfoCollection that represents collection of ImapAttachmentInfo

```cpp
ListAttachments(int32_t sequenceNumber)
```

| Parameter | Description |
| --- | --- |
| sequenceNumber | The message sequence number. |

---

## ListAttachments (2 of 2) {#listattachments_2}

Gets the message attachments list. Gets an information for each attachment in message.

**Returns:** ImapMessageInfoCollection that represents collection of ImapAttachmentInfo

```cpp
ListAttachments(System::SharedPtr < IConnection > connection, int32_t sequenceNumber)
```

| Parameter | Description |
| --- | --- |
| sequenceNumber | The message sequence number. |

