MimeHeader Class
A header field of a message or of a MIME part.
public sealed class MimeHeaderProperties
| Name | Description |
|---|---|
| Name | Gets the name of the header, such as Subject. |
| RawValue | Gets the value as it is in the message: unfolded, with its encoded words ([RFC 2047]) and its comments. |
| Value | Gets the value with its encoded words decoded. |
Name
MimeHeader.csRawValue
MimeHeader.csValue
MimeHeader.csMethods
| Name | Description |
|---|---|
| Create(string, string) | Creates a header whose value is a text: it is encoded ([RFC 2047]) when it is not ASCII. |
| CreateRaw(string, string) | Creates a header from a value that is already formatted, such as a list of addresses or a content type. |
| ToString() | Returns the name and the value of the header. |
Create(string, string)
MimeHeader.csCreates a header whose value is a text: it is encoded ([RFC 2047]) when it is not ASCII.
public static MimeHeader Create(string name, string value)CreateRaw(string, string)
MimeHeader.csCreates a header from a value that is already formatted, such as a list of addresses or a content type.
public static MimeHeader CreateRaw(string name, string rawValue)