Click or drag to resize
MimeKit

HeaderSetAddRange(IEnumerableString) Method

Add a collection of headers.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.10.0
Syntax
C#
public void AddRange(
	IEnumerable<string> headers
)

Parameters

headers  IEnumerableString
The headers to add.
Exceptions
ExceptionCondition
ArgumentNullExceptionheaders is .
ArgumentException One or more of the specified headers is invalid.
InvalidOperationException The operation is invalid because the HeaderSet is read-only.
Remarks
Adds the specified headers to the set of headers.
See Also