Click or drag to resize
MimeKit

HeaderListAdd(String, String) Method

Add a header with the specified field and value.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public void Add(
	string field,
	string value
)

Parameters

field  String
The name of the header field.
value  String
The header value.
Exceptions
ExceptionCondition
ArgumentNullException

field is null.

-or-

value is null.

ArgumentException The field contains illegal characters.
Remarks
Adds a new header for the specified field and value pair.
See Also