From a3fe4a548d36f2a292d6e35cdc907e8ffb30b2ce Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Thu, 4 May 2017 13:10:00 +0100 Subject: [PATCH] add sender to the param list for the send/message API method --- api/controllers/send_api_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/controllers/send_api_controller.rb b/api/controllers/send_api_controller.rb index de45849..80b356b 100644 --- a/api/controllers/send_api_controller.rb +++ b/api/controllers/send_api_controller.rb @@ -10,7 +10,8 @@ controller :send do param :to, "The e-mail addresses of the recipients (max 50)", :type => Array param :cc, "The e-mail addresses of any CC contacts (max 50)", :type => Array param :bcc, "The e-mail addresses of any BCC contacts (max 50)", :type => Array - param :from, "The e-mail address of the sender", :type => String + param :from, "The e-mail address for the From header", :type => String + param :sender, "The e-mail address for the Sender header", :type => String param :subject, "The subject of the e-mail", :type => String param :tag, "The tag of the e-mail", :type => String param :reply_to, "Set the reply-to address for the mail", :type => String