MailMessageHeaders Property
Gets the collection of the message headers.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public HeaderCollection Headers { get; }

Property Value

Type: HeaderCollection
A HeaderCollection object containing the headers of the message.

This property allows the developer to access any headers of the message, add new headers, or modify/delete existing ones.

Use RawHeader property to get the header section of the message as a string.

The example is available in Header topic.
See Also