HeaderListAdd(HeaderId, String) Method

Add a header with the specified field and value.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Add(
	HeaderId id,
	string value
)

Parameters

id  HeaderId
The header identifier.
value  String
The header value.

Remarks

Adds a new header for the specified field and value pair.

Exceptions

See Also