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.
Namespace
Module
- ActionMailbox::Callbacks
- ActionMailbox::Ingresses
- ActionMailbox::Routing
- ActionMailbox::TestHelper
- ActionMailbox::VERSION
Class
- ActionMailbox::Base
- ActionMailbox::BaseController
- ActionMailbox::Engine
- ActionMailbox::InboundEmail
- ActionMailbox::IncinerationJob
- ActionMailbox::Relayer
- ActionMailbox::Router
- ActionMailbox::RoutingJob
- ActionMailbox::TestCase
Methods
Class Public methods
gem_version()
Returns the currently loaded version of Action Mailbox as a Gem::Version
.
📝 Source code
# File actionmailbox/lib/action_mailbox/gem_version.rb, line 5
def self.gem_version
Gem::Version.new VERSION::STRING
end
🔎 See on GitHub
version()
Returns the currently loaded version of Action Mailbox as a Gem::Version
.
📝 Source code
# File actionmailbox/lib/action_mailbox/version.rb, line 7
def self.version
gem_version
end
🔎 See on GitHub