Attachments Property
The paths of files to attach to the message.
Syntax
[VB.NET] Public Property Attachments As FileAttachmentList
[C#] public FileAttachmentList Attachments {get;}
Remarks
This property contains the path of a file on your system that you would like to send as an attachment with your message. The component will open the file and encode its contents in MIME format.
Example (Adding an Attachment)
Control.AddAttachment("C:\file1.zip") Control.AddAttachment("C:\file2.zip") Control.Send()or Example (Using Attachments Collection)
Control.Attachments.Add(New nsoftware.IPWorks.FileAttachment("name", "C:\file.txt"))
This collection is indexed from 0 to Count - 1.
This property is not available at design time.