mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
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:
committed by
Dave Conway-Jones
parent
bd563a7217
commit
75f9db8d8b
@@ -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; }
|
||||
|
Reference in New Issue
Block a user