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

MailAddressList.Insert Method 

Inserts an element into the MailAddressList at the specified index.

public virtual void Insert(
   int index,
   MailAddress item
);

Parameters

index
The zero-based index at which item should be inserted.
item
The MailAddress to insert.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

MailAddressList Class | SmtPop Namespace