Adds a MimeAttachment to the end of the MimeAttachmentList.
The MimeAttachmentList index at which the value has been added.
Please refer to Add for details.
Exception Type | Condition |
---|---|
NotSupportedException |
The MimeAttachmentList is read-only. -or- The MimeAttachmentList has a fixed size. -or- The MimeAttachmentList already contains the specified value, and the MimeAttachmentList ensures that all elements are unique. |
MimeAttachmentList Class | SmtPop Namespace