class InboundEmailsController
Ruby on Rails 7.2.3
Since v6.0.6Ingests 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 Contentif an inbound email is successfully recorded and enqueued for routing to the appropriate mailbox -
401 Unauthorizedif the request’s signature could not be validated -
404 Not Foundif Action Mailbox is not configured to accept inbound emails from Mandrill -
422 Unprocessable Entityif the request is missing required parameters -
500 Server Errorif 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
Namespace
Classes
Methods (defined here)
- # create
- # health_check
Private methods
(5)
Implementation detail — not part of the public API.
- # authenticate
- # authenticated?
- # events
- # key
- # raw_emails
Methods (inherited)
From ActionController::Base (1)
- self. without_modules