MailMessageSensitivity Property
Gets or sets the sensitivity of the message.

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

Property Value

Type: MailSensitivity
The sensitivity of the message, or None if not set. The default value is None.
The value of this property is taken from Sensitivity header.
This sample loads the message from .EML file and sets the private level of sensitivity of this message.
// To use the code below, import MailBee namespaces at the top of your code.
using MailBee;
using MailBee.Mime;

' The actual code (put it into a method of your class)

' Load the message from file.
MailMessage msg = new MailMessage();

msg.Sensitivity = MailSensitivity.Private;
See Also