EnvelopeSafeMode Property
Gets or sets whether empty values instead of a null reference (Nothing in Visual Basic) should be returned when the corresponding fields are not available in the data received from the server.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public bool SafeMode { get; set; }

Property Value

Type: Boolean
If true, string properties of Envelope object will return empty string and e-mail address and flags related properties will return empty objects when the corresponding information is not available in the envelope data; otherwise, a null reference will be returned in such cases. The default value is true.
Remarks

The developer may set this property to false if the application needs to distinguish empty values from missing values.

This property may affect return values of the following properties:

Note Note
This property is not connected with Global.SafeMode property in any way.
See Also