Adds the elements of a MimeAttachment array to the end of the MimeAttachmentList.
Please refer to AddRange for details.
Exception Type | Condition |
---|---|
ArgumentNullException | array is a null reference. |
NotSupportedException |
The MimeAttachmentList is read-only. -or- The MimeAttachmentList has a fixed size. -or- The MimeAttachmentList already contains one or more elements in the specified array, and the MimeAttachmentList ensures that all elements are unique. |
MimeAttachmentList Class | SmtPop Namespace | MimeAttachmentList.AddRange Overload List