MessageBuilderConfigKeepEmptyHeaders Property
Forces MailBee to include empty headers in the message upon building the message.

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

Property Value

Type: Boolean
if true, empty headers will be added to the message header. If false, they will be omitted. The default value is false.
Usually, empty headers (which have name but no value) are not needed. However, you may need them in case of DKIM signing to prevent the message from being tampered by adding headers which don't participate in the signature.
See Also