1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox/app/models/action_mailbox/inbound_email
George Claghorn 22f3dfe3cb
Upload raw email before creating pending ActionMailbox::InboundEmail
Fix that a storage upload error would leave behind a stuck-pending ActionMailbox::InboundEmail that could never be processed. The message isn't lost: the SMTP relay sees an HTTP server error and defers message delivery. We just have spurious, non-actionable InboundEmails stuck pending and tripping monitoring.

This does still leave behind an unattached ActiveStorage::Blob with no corresponding object on the storage service, but that's less annoying.
2021-01-04 09:28:09 -05:00
..
incineratable Fix document formatting on ActionMailbox [ci skip] 2019-01-17 01:10:21 +09:00
incineratable.rb Allow skipping incineration of processed emails 2019-02-06 19:28:49 -05:00
message_id.rb Upload raw email before creating pending ActionMailbox::InboundEmail 2021-01-04 09:28:09 -05:00
routable.rb Fix document formatting on ActionMailbox [ci skip] 2019-01-17 01:10:21 +09:00