MailMessageAttachments Property
Gets the AttachmentCollection object containing the attachments of the mail message.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public AttachmentCollection Attachments { get; }

Property Value

Type: AttachmentCollection
An AttachmentCollection object containing all the attachments of the mail message. The default value is an empty collection.
Remarks

Although Attachments property itself is read-only, the collection it returns can be modified through its Add(Attachment), Clear, Remove(String), RemoveAt(Int32) and other methods.

The developer can iterate through this collection using foreach operator (For Each in Visual Basic), access individual attachments using ItemInt32 property, or use SaveAll(String) method to save all attachments into a folder with a single method call.
Examples
The example is available in AttachmentCollection topic.
See Also