1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Bump email node version

This commit is contained in:
Dave Conway-Jones 2016-08-03 09:01:28 +01:00
parent 17255b7bbf
commit 677864482e
3 changed files with 7 additions and 6 deletions

View File

@ -70,11 +70,11 @@
<script type="text/x-red" data-help-name="e-mail"> <script type="text/x-red" data-help-name="e-mail">
<p>Sends the <code>msg.payload</code> as an email, with a subject of <code>msg.topic</code>.</p> <p>Sends the <code>msg.payload</code> as an email, with a subject of <code>msg.topic</code>.</p>
<p>You may optionally set <code>msg.from</code> in the payload which will override the <code>node.userid</code>
default value.</p>
<p>The default message recipient can be configured in the node, if it is left <p>The default message recipient can be configured in the node, if it is left
blank it should be set using the <code>msg.to</code> property of the incoming message. If left blank blank it should be set using the <code>msg.to</code> property of the incoming message. If left blank
you can also specify <code>msg.cc</code> and/or <code>msg.bcc</code> properties.</p> you can also specify <code>msg.cc</code> and/or <code>msg.bcc</code> properties.</p>
<p>You may optionally set <code>msg.from</code> in the payload which will override the <code>userid</code>
default value.</p>
<p>The payload can be html format.</p> <p>The payload can be html format.</p>
<p>If the payload is a binary buffer then it will be converted to an attachment. <p>If the payload is a binary buffer then it will be converted to an attachment.
The filename should be set using <code>msg.filename</code>. Optionally <code>msg.description</code> can be added for the body text.</p> The filename should be set using <code>msg.filename</code>. Optionally <code>msg.description</code> can be added for the body text.</p>

View File

@ -39,13 +39,14 @@ Uses the *imap* npm module.
### Output ### Output
Sends the `msg.payload` as an email, with a subject of `msg.topic`. You may Sends the `msg.payload` as an email, with a subject of `msg.topic`.
optionally override the from email address by setting `msg.from` otherwise the
node will use the `node.userid` setting.
The default message recipient can be configured in the node, if it is left 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. blank it should be set using the `msg.to` property of the incoming message.
You may optionally override the *from* email address by setting `msg.from`,
otherwise the node will use the `userid` setting from the server connection.
The payload can be html format. The payload can be html format.
If the payload is a binary buffer then it will be converted to an attachment. If the payload is a binary buffer then it will be converted to an attachment.

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-email", "name": "node-red-node-email",
"version": "0.1.10", "version": "0.1.11",
"description": "Node-RED nodes to send and receive simple emails", "description": "Node-RED nodes to send and receive simple emails",
"dependencies": { "dependencies": {
"nodemailer": "^1.11.0", "nodemailer": "^1.11.0",