1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-01-19 14:19:48 +00:00

configurable maximum delivery attempts

closes #59
هذا الالتزام موجود في:
Adam Cooke
2017-04-29 11:56:25 +01:00
الأصل 3333a7baf3
التزام 45fd472f76
4 ملفات معدلة مع 3 إضافات و4 حذوفات

عرض الملف

@@ -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