1 parent
3333a7baf3
commit
45fd472f76
4 files changed
+3
-4
No files matched your search
@@ -51,7 +51,7 @@ class UnqueueMessageJob < Postal::Job
|
||||
end
|
||||
|
||||
# We might not be able to send this any more, check the attempts
|
||||
if queued_message.attempts >= QueuedMessage::MAX_ATTEMPTS
|
||||
if queued_message.attempts >= Postal.config.general.maximum_delivery_attempts
|
||||
details = "Maximum number of delivery attempts (#{queued_message.attempts}) has been reached."
|
||||
if queued_message.message.scope == 'incoming'
|
||||
# Send bounceds to incoming e-mails when they are hard failed
|
||||
|
||||
Reference in new issue
Block a user