Non tratta l'EOF SMTP come invio riuscito e toglie quei falsi errori dalla lista.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -195,6 +195,15 @@ module ApplicationHelper
|
||||
end
|
||||
end
|
||||
|
||||
def mailing_recipient_delivery_note(recipient)
|
||||
if recipient.status == "failed" && recipient.error_message.present?
|
||||
content_tag :div, recipient.error_message, class: "mt-1 text-xs text-rose-700 dark:text-rose-300"
|
||||
elsif recipient.queued? && recipient.error_message.to_s.match?(/Da ritentare/)
|
||||
content_tag :div, "Non risulta inviata. Verrà ritentata in coda.",
|
||||
class: "mt-1 text-xs text-amber-800 dark:text-amber-200"
|
||||
end
|
||||
end
|
||||
|
||||
def ab_variant_badge(variant)
|
||||
return if variant.blank?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user