SmtpFinishingJobEventArgsIsSuccessful Property
Gets if the job was completed successfully.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public bool IsSuccessful { get; }

Property Value

Type: Boolean
true if the job succeeded; otherwise, false.
Remarks

This property just returns true when ErrorReason of the Job object is not set.

You can use this property to decide whether to destroy the job after this event completes. For instance, keep failed jobs for later reuse with RetryFailedJobs method and remove successful jobs so that they wouldn't occupy memory. See KeepIt property for details.

See Also