instance method
create
Ruby on Rails 8.1.2
Since v6.0.6Signature
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