diff --git a/social/email/61-email.html b/social/email/61-email.html index b34baf13..e372f049 100644 --- a/social/email/61-email.html +++ b/social/email/61-email.html @@ -65,7 +65,7 @@
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 msg.cc
and/or msg.bcc
properties.
msg.cc
, msg.bcc
, msg.replyTo
, msg.inReplyTo
, msg.references
properties.
You may optionally set msg.from
in the payload which will override the userid
default value.
The payload can be html format.
diff --git a/social/email/61-email.js b/social/email/61-email.js index e9cc7974..c6e501df 100644 --- a/social/email/61-email.js +++ b/social/email/61-email.js @@ -87,6 +87,9 @@ module.exports = function(RED) { if (node.name === "") { sendopts.cc = msg.cc; sendopts.bcc = msg.bcc; + sendopts.inReplyTo = msg.inReplyTo; + sendopts.replyTo = msg.replyTo; + sendopts.references = msg.references; } 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/ja/61-email.html b/social/email/locales/ja/61-email.html index 5a6300b7..e2d9d6c4 100644 --- a/social/email/locales/ja/61-email.html +++ b/social/email/locales/ja/61-email.html @@ -2,7 +2,7 @@