diff --git a/social/email/61-email.js b/social/email/61-email.js index 272c7390..f480c60a 100644 --- a/social/email/61-email.js +++ b/social/email/61-email.js @@ -94,6 +94,8 @@ module.exports = function(RED) { sendopts.inReplyTo = msg.inReplyTo; sendopts.replyTo = msg.replyTo; sendopts.references = msg.references; + sendopts.headers = msg.headers; + sendopts.priority = msg.priority; } sendopts.subject = msg.topic || msg.title || "Message from Node-RED"; // subject line if (msg.hasOwnProperty("envelope")) { sendopts.envelope = msg.envelope; } diff --git a/social/email/locales/en-US/61-email.html b/social/email/locales/en-US/61-email.html index 282ff3b2..3806b8de 100644 --- a/social/email/locales/en-US/61-email.html +++ b/social/email/locales/en-US/61-email.html @@ -2,7 +2,8 @@
Sends the msg.payload
as an email, with a subject of msg.topic
.
The default message recipient can be configured in the node, if it is left
blank it should be set using the msg.to
property of the incoming message. If left blank
- you can also specify any or all of: msg.cc
, msg.bcc
, msg.replyTo
, msg.inReplyTo
, msg.references
properties.
msg.cc
, msg.bcc
, msg.replyTo
,
+ msg.inReplyTo
, msg.references
, msg.headers
, or msg.priority
properties.
You may optionally set msg.from
in the payload which will override the userid
default value.