method
create
v7.0.0 -
Show latest stable
- Class:
ActionMailbox::Ingresses::Sendgrid::InboundEmailsController
create()public
No documentation available.
# File actionmailbox/app/controllers/action_mailbox/ingresses/sendgrid/inbound_emails_controller.rb, line 50
def create
ActionMailbox::InboundEmail.create_and_extract_message_id! mail
rescue JSON::ParserError => error
logger.error error.message
head :unprocessable_entity
end