Gets the list of e-mail tasks being processed right now.
The list of jobs currently being processed.
Jobs processing starts when the application calls such methods as SendJobs, BeginSendJobs, SendMailMerge, or SubmitJobsToPickupFolder.
Jobs are processed in the following order:
By default, multi-thread mode is off (MaxThreadCount is 1), so that only 1 job is processed per moment and number of items in JobsRunning never exceeds 1.
Note The application can monitor JobsRunning collection only while any method which processes jobs is running. Once job processing finishes, JobsRunning will always be empty. To monitor JobsRunning and other job collections directly during job processing (i.e. not waiting until job processing completes), subscribe to Smtp class events, or start jobs processing with BeginSendJobs method, or both. To synchronize access to these collections in multi-thread environment, use JobsSyncRoot property.
Smtp Class | MailBee.SmtpMail Namespace | JobsPending | JobsFailed | JobsSuccessful