aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/action_mailroom/inbound_emails_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/action_mailroom/inbound_emails_controller.rb b/app/controllers/action_mailroom/inbound_emails_controller.rb
index 0723bd39c3..57e0530ac6 100644
--- a/app/controllers/action_mailroom/inbound_emails_controller.rb
+++ b/app/controllers/action_mailroom/inbound_emails_controller.rb
@@ -6,7 +6,7 @@ class ActionMailroom::InboundEmailsController < ActionController::Base
before_action :require_rfc822_message, only: :create
def create
- ActionMailroom::InboundEmail.create_from_raw_email!(params[:message])
+ ActionMailroom::InboundEmail.create_and_extract_message_id!(params[:message])
head :created
end