Simple Mail and Post Office Protocol for .Net (SmtPop)

IMimeAttachmentList.Add Method 

Adds a MimeAttachment to the end of the IMimeAttachmentList.

int Add(
   MimeAttachment value
);

Parameters

value
The MimeAttachment object to be added to the end of the IMimeAttachmentList. This argument can be a null reference.

Return Value

The IMimeAttachmentList index at which the value has been added.

Remarks

Please refer to Add for details.

Exceptions

Exception Type Condition
NotSupportedException

The IMimeAttachmentList is read-only.

-or-

The IMimeAttachmentList has a fixed size.

See Also

IMimeAttachmentList Interface | SmtPop Namespace