Leaving in the queue when an error is received

Created on 27 November 2023, 12 months ago

Problem/Motivation

When sending via SMTP, the task is left out of the queue even if an error response is received.

Steps to reproduce

With the help of ECA module I have built the functionality of sending e-mails through the queue. When an event occurs, the email is successfully placed in the queue and when the cron job is started, it is successfully sent and disappears from the queue.

I tried to change the data for SMTP connection to get a sending error. After starting the cron job, the SMTP connection error appeared and the task of sending the email disappeared from the queue.

Proposed resolution

It seems to me that the task should stay in the queue until a successful send is performed. Or am I wrong?

🐛 Bug report
Status

Closed: works as designed

Version

1.4

Component

Code

Created by

🇷🇺Russia a.sinitsa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024