MailMessageSensitivity Property |
Gets or sets the sensitivity of the message.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public MailSensitivity Sensitivity { get; set; }
Public Property Sensitivity As MailSensitivity
Get
Set
Property Value
Type:
MailSensitivity
The sensitivity of the message, or
None if not set. The default value is
None.
Remarks Remarks
The value of this property is taken from Sensitivity header.
Examples This sample loads the message from .EML file and sets the private level of sensitivity of this message.
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.LoadMessage(@"C:\Docs\TestMail1.eml");
msg.Sensitivity = MailSensitivity.Private;
Imports MailBee
Imports MailBee.Mime
Dim msg As New MailMessage
msg.LoadMessage("C:\Docs\TestMail1.eml")
msg.Sensitivity = MailSensitivity.Private
See Also