FormatOptionsHiddenHeaders Property

Get the message headers that should be hidden.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public HashSet<HeaderId> HiddenHeaders { get; }

Property Value

HashSetHeaderId
The message headers.

Remarks

Specifies the set of headers that should be removed when writing a MimeMessage to a stream.

This is primarily meant for the purposes of removing Bcc and Resent-Bcc headers when sending via a transport such as SMTP.

See Also