diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-12-03 15:52:08 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-12-03 15:52:08 -0800 |
commit | 9d798ca9c038059df479233ddc4d35711826bd93 (patch) | |
tree | 00b043926bbcd362e772f526fac8206a2bb1c785 /app/controllers | |
parent | 09da258fab967ac722bca6d63947ec0bfd8ea540 (diff) | |
download | rails-9d798ca9c038059df479233ddc4d35711826bd93.tar.gz rails-9d798ca9c038059df479233ddc4d35711826bd93.tar.bz2 rails-9d798ca9c038059df479233ddc4d35711826bd93.zip |
Allow CC, BCC, and In-Reply-To mail attributes to be set on new delivery
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb b/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb index 70537da9c4..9804f6ec5b 100644 --- a/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb +++ b/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb @@ -17,7 +17,7 @@ class Rails::Conductor::ActionMailbox::InboundEmailsController < Rails::Conducto private def new_mail - Mail.new params.require(:mail).permit(:from, :to, :cc, :bcc, :subject, :body).to_h + Mail.new params.require(:mail).permit(:from, :to, :cc, :bcc, :in_reply_to, :subject, :body).to_h end def create_inbound_email(mail) |