add to email threading headers (#542)

and update documentation in all available locales

nodemailer already supports all of:
- msg.replyTo
- msg.inReplyTo
- msg.references
This commit is contained in:
Luis Mario Domenzain
2019-05-21 20:30:32 +02:00
committed by Dave Conway-Jones
parent bd563a7217
commit 75f9db8d8b
3 changed files with 5 additions and 2 deletions

View File

@@ -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; }