From 75f9db8d8b81969712f6a7fd43dbcb57a5577d76 Mon Sep 17 00:00:00 2001
From: Luis Mario Domenzain Sends the The default message recipient can be configured in the node, if it is left
blank it should be set using the msg.payload
as an email, with a subject of msg.topic
.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 @@