MailMessageLastResult Property
Gets the code of the last occurred error.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
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.
This property always contains the code of last occurred error (even if ThrowExceptions property is set to true).
The example is available in ThrowExceptions topic.
See Also