Click or drag to resize
MimeKit

MimeEntitySetHeader(String, String) Method

Set the value of a header.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
protected void SetHeader(
	string name,
	string value
)

Parameters

name  String
The name of the header.
value  String
The value of the header.
Remarks
Sets the header to the specified value without calling OnHeadersChanged(HeaderListChangedAction, Header).
See Also