Adds the elements of an ICollection to the end of the MailHeaders object.
The elements of the ICollection must be of type DictionaryEntry and the Key of each element must be of type string otherwise an error occurs.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | c is a null reference (Nothing is Visual Basic). |
| ArgumentException |
c does not contain elements of type DictionaryEntry -or- the DictionaryEntry does not contain a valid header field. |
MailHeaders Class | MailMill Namespace | System.Collections.ICollection | System.String | System.Collections.DictionaryEntry