workflow icon indicating copy to clipboard operation
workflow copied to clipboard

Send mail notifications in queue

Open Aku-benj opened this issue 7 months ago • 1 comments

Question

Hey, Could mail notifications be sent asynchronously in the queue or else instead of in the main thread of the current action ?

Additional context

I am using an SMTP server to send my notifications and today my SMTP logins attempts were failing. Because of that, on each submission's actions (creation/approbation), the 8 notifications (one for each reviewer) were failing causing timeouts. I temporarly disabled the notifications and each actions were now instant.

Versions : Craft CMS | PRO | 4.14.15 Workflow | 2.0.15

Aku-benj avatar May 01 '25 20:05 Aku-benj

Good idea, using the queue should be an option for performance. I'll look into it.

engram-design avatar May 01 '25 20:05 engram-design