SudoSOS Back-end API / workers / mail-worker
Workers: Mail Worker ​
Functions ​
| Function | Description |
|---|---|
| handleJobCompleted | Event handler invoked when a mail job completes. |
| handleJobFailed | Event handler invoked when a mail job fails after all retries. |
| processMailJob | BullMQ job processor for the mail queue. Hands the job payload off to the SMTP transporter and re-throws so BullMQ can mark the job as failed. |
| startMailWorker | - |