MailBee.NET Objects 4.0

MailMessage.Headers Property

Gets the collection of the message headers.

public HeaderCollection Headers {get;}

Property Value

A HeaderCollection object containing the headers of the message.

Remarks

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.

Example

The example is available in Header topic.

See Also

MailMessage Class | MailBee.Mime Namespace | RawHeader