mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
email node - add msg.priority and msg.headers options
This commit is contained in:
@@ -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; }
|
||||
|
Reference in New Issue
Block a user