MailMessageLastResult Property
Gets the code of the last occurred error.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 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