Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The project page says:
If connection to server fails (with code -110, 404, 408 or 500-504), message will be added to Cron Queue for later delivery (if it still fails for some another reason, it will not be added to queue again), see #4 in installation guide.
There should be an option to control this, to prevent any outbound emails from being lost.
Comments
Comment #2
Perignon CreditAttribution: Perignon commentedHrm... Where to store the messages though.
Comment #3
Perignon CreditAttribution: Perignon commentedLooking at the code (I didn't write this part or touch it yet), the failed messages will be saved in the queue, even if they fail again and again.
I see the problem being actually being the creation of an infinite loop. If something is really wrong, the queue could start to grow out of control.
Comment #4
DamienMcKennaFor comparison, SMTP saves the messages into a secondary queue if they fail, on the next cron run they get moved to the main queue, and then on the second cron run they get sent again.
Comment #5
Perignon CreditAttribution: Perignon commentedI will check out SMTP. Reuse is good.
Comment #6
Perignon CreditAttribution: Perignon commentedWell, that essentially is the same thing. An infinite loop of queue's.
Comment #7
Perignon CreditAttribution: Perignon commentedGoing to mark this closed. The emails stay in the queue if they do not send.
There needs to be something done about an infinite loop of messages in queue if something goes wrong.
Comment #8
Perignon CreditAttribution: Perignon commented