instance method create

Ruby on Rails 8.0.4

Since v6.0.6

Available in: v6.0.6 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

create()

No documentation comment.

Source
# File actionmailbox/app/controllers/action_mailbox/ingresses/postmark/inbound_emails_controller.rb, line 51
    def create
      ActionMailbox::InboundEmail.create_and_extract_message_id! mail
    rescue ActionController::ParameterMissing => error
      logger.error <<~MESSAGE
        #{error.message}

        When configuring your Postmark inbound webhook, be sure to check the box
        labeled "Include raw email content in JSON payload".
      MESSAGE
      head ActionDispatch::Constants::UNPROCESSABLE_CONTENT
    end

Defined in actionmailbox/app/controllers/action_mailbox/ingresses/postmark/inbound_emails_controller.rb line 51 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionMailbox::Ingresses::Postmark::InboundEmailsController

Type at least 2 characters to search.

↑↓ navigate · open · esc close