Gets the AttachmentCollection object containing the attachments of the mail message.
An AttachmentCollection object containing all the attachments of the mail message. The default value is an empty collection.
Although Attachments property itself is read-only, the collection it returns can be modified through its Add, Clear, Remove, RemoveAt and other methods.
The developer can iterate through this collection usingforeach operator (For Each in Visual Basic), access individual attachments using Item property, or use SaveAll method to save all attachments into a folder with a single method call. The example is available in AttachmentCollection topic.
MailMessage Class | MailBee.Mime Namespace