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

add note re criteria to email in node

and change x-red to html
This commit is contained in:
Dave Conway-Jones 2020-01-28 18:15:28 +00:00
parent a4844dc09c
commit 90a00279c0
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<script type="text/x-red" data-template-name="e-mail"> <script type="text/html" data-template-name="e-mail">
<div class="form-row"> <div class="form-row">
<label for="node-input-name"><i class="fa fa-envelope"></i> <span data-i18n="email.label.to"></span></label> <label for="node-input-name"><i class="fa fa-envelope"></i> <span data-i18n="email.label.to"></span></label>
<input type="text" id="node-input-name" placeholder="email@address.com"> <input type="text" id="node-input-name" placeholder="email@address.com">
@ -103,7 +103,7 @@
</script> </script>
<script type="text/x-red" data-template-name="e-mail in"> <script type="text/html" data-template-name="e-mail in">
<div class="form-row"> <div class="form-row">
<label for="node-input-fetch"><i class="fa fa-hourglass-half"></i> <span data-i18n="email.label.getmail"></span></label> <label for="node-input-fetch"><i class="fa fa-hourglass-half"></i> <span data-i18n="email.label.getmail"></span></label>
<select type="text" id="node-input-fetch" style="width:130px;"> <select type="text" id="node-input-fetch" style="width:130px;">

View File

@ -26,9 +26,9 @@
<p>Additionally <code>msg.header</code> contains the complete header object including <p>Additionally <code>msg.header</code> contains the complete header object including
<i>to</i>, <i>cc</i> and other potentially useful properties.</p> <i>to</i>, <i>cc</i> and other potentially useful properties.</p>
<p>It can optionally mark the message as Read (default), Delete it, or leave unmarked (None).</p> <p>It can optionally mark the message as Read (default), Delete it, or leave unmarked (None).</p>
<p>Uses the imap module.</p> <p>Uses the <a href="https://github.com/mscdex/node-imap/blob/master/README.md" target="_new">node-imap module</a> - see that page for
<p><b>Note:</b> this node <i>only</i> gets the most recent single email from the inbox, so set the repeat (polling) time appropriately.</p> information on the <code>msg.criteria</code> format if needed.</p>
<p>Note: uses IMAP with SSL to port 993.</p> <p><b>Note</b>: uses IMAP with SSL to port 993.</p>
<p>Any attachments supplied in the incoming email can be found in the <code>msg.attachments</code> property. This will be an array of objects where <p>Any attachments supplied in the incoming email can be found in the <code>msg.attachments</code> property. This will be an array of objects where
each object represents a specific attachments. The format of the object is:</p> each object represents a specific attachments. The format of the object is:</p>

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-email", "name": "node-red-node-email",
"version": "1.7.4", "version": "1.7.5",
"description": "Node-RED nodes to send and receive simple emails", "description": "Node-RED nodes to send and receive simple emails",
"dependencies": { "dependencies": {
"imap": "^0.8.19", "imap": "^0.8.19",