1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox
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
..
app Upload raw email before creating pending ActionMailbox::InboundEmail 2021-01-04 09:28:09 -05:00
bin
config Add a route to handle Mandrill's webhook URL check 2020-04-07 13:22:36 +01:00
db/migrate
lib Start Rails 6.2 development 🎉 2020-12-03 01:35:29 +00:00
test Upload raw email before creating pending ActionMailbox::InboundEmail 2021-01-04 09:28:09 -05:00
.gitignore Remove redundant .gitignore entries 2020-02-07 14:05:23 -06:00
actionmailbox.gemspec Update the Rails mailing list URLs to new discuss discourse URL [ci skip] 2020-04-02 22:00:28 +05:30
CHANGELOG.md Start Rails 6.2 development 🎉 2020-12-03 01:35:29 +00:00
MIT-LICENSE Bump license years to 2021 [ci skip] 2021-01-01 12:21:20 +09:00
Rakefile
README.md Remove the Amazon SES ingress 2019-04-14 12:15:54 -04:00

Action Mailbox

Action Mailbox routes incoming emails to controller-like mailboxes for processing in Rails. It ships with ingresses for Mailgun, Mandrill, Postmark, and SendGrid. You can also handle inbound mails directly via the built-in Exim, Postfix, and Qmail ingresses.

The inbound emails are turned into InboundEmail records using Active Record and feature lifecycle tracking, storage of the original email on cloud storage via Active Storage, and responsible data handling with on-by-default incineration.

These inbound emails are routed asynchronously using Active Job to one or several dedicated mailboxes, which are capable of interacting directly with the rest of your domain model.

You can read more about Action Mailbox in the Action Mailbox Basics guide.

License

Action Mailbox is released under the MIT License.