rails/actionmailbox
Ronan Limon Duparcmeur 3bac56e11f Added `bounce_now_with`
`ActionMailbox::Base#bounce_with` enqueues the bounce email. For
situations where it is preferable to skip the email queues, this
commit introduces `#bounce_now_with`, which sends the bounce email
immediately (like `deliver_now` vs. `deliver_later`).

    # Delivers the email immediately
    MyMailbox.bounce_now_with MyMailer.my_method(args)
2023-06-28 16:17:40 +02:00
..
app Replace all occurrences of '<tt>(\w+::\w+)</tt>' with '+$1+' 2023-05-25 06:52:32 +09:00
bin Import Action Mailbox 2018-12-25 21:32:35 -05:00
config Remove 4 unroutable routes from ActionMailbox 2022-05-31 15:38:45 -05:00
db/migrate feat: use config pk type in Action Mailbox migration 2023-05-04 08:19:36 -07:00
lib Added `bounce_now_with` 2023-06-28 16:17:40 +02:00
test Added `bounce_now_with` 2023-06-28 16:17:40 +02:00
.gitignore Ignore local .sqlite3 files that are created under storage directory 2022-12-27 11:35:26 +09:00
CHANGELOG.md Added `bounce_now_with` 2023-06-28 16:17:40 +02:00
MIT-LICENSE Remove Copyright years (#47467) 2023-02-23 11:38:16 +01:00
README.md 🔗 Remove RDoc auto-link from Rails module everywhere 2023-06-23 10:49:30 +09:00
Rakefile Add `rake test:isolated` for Action Mailbox 2023-01-16 14:38:17 +09:00
actionmailbox.gemspec Temporarily add net-gems as dependencies of frameworks that use mail 2022-01-05 17:42:40 +00:00

README.md

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.