MailMessageLastResult Property
Gets the code of the last occurred error.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public int LastResult { get; }

Property Value

Type: Int32
An integer value containing a numeric code of the last error, or the OK value if no errors occurred. The default value is OK.
Remarks
This property always contains the code of last occurred error (even if ThrowExceptions property is set to true).
Examples
The example is available in ThrowExceptions topic.
See Also