class InboundEmailsController

Ruby on Rails edge

Since v6.0.6.1

Available in: v6.0.6.1 v6.1.7.10 v7.0.10 v7.1.6 v7.2.4 v8.0.5.1 v8.1.4 edge

Ingests inbound emails from Mandrill.

Requires a mandrill_events parameter containing a JSON array of Mandrill inbound email event objects. Each event is expected to have a msg object containing a full RFC 822 message in its raw_msg property.

Returns:

  • ‘204 No Content` if an inbound email is successfully recorded and enqueued for routing to the appropriate mailbox

  • ‘401 Unauthorized` if the request’s signature could not be validated

  • ‘404 Not Found` if Action Mailbox is not configured to accept inbound emails from Mandrill

  • ‘422 Unprocessable Entity` if the request is missing required parameters

  • ‘500 Server Error` if the Mandrill API key is missing, or one of the Active Record database, the Active Storage service, or the Active Job backend is misconfigured or unavailable

Inherits from

ActionMailbox::BaseController

Namespace

Classes

Methods (defined here)

Private methods (5)

Show private methods Implementation detail — not part of the public API.

Methods (inherited)

From ActionController::Base (1)

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close