update email info to match actual implementation.

This commit is contained in:
Dave Conway-Jones 2019-06-14 16:37:31 -04:00
parent 16130362fc
commit 88ee43186c
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
4 changed files with 9 additions and 8 deletions

6
package-lock.json generated
View File

@ -4990,9 +4990,9 @@
}
},
"nodemailer": {
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.1.1.tgz",
"integrity": "sha512-/x5MRIh56VyuuhLfcz+DL2SlBARpZpgQIf2A4Ao4hMb69MHSgDIMPwYmFwesGT1lkRDZ0eBSoym5+JoIZ3N+cQ==",
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.2.1.tgz",
"integrity": "sha512-TagB7iuIi9uyNgHExo8lUDq3VK5/B0BpbkcjIgNvxbtVrjNqq0DwAOTuzALPVkK76kMhTSzIgHqg8X1uklVs6g==",
"dev": true
},
"nomnom": {

View File

@ -46,7 +46,7 @@
"ngeohash": "^0.6.3",
"node-red": "~0.20.5",
"node-red-node-test-helper": "~0.2.2",
"nodemailer": "^6.1.1",
"nodemailer": "^6.2.1",
"poplib": "^0.1.7",
"proxyquire": "^2.1.0",
"pushbullet": "^2.4.0",

View File

@ -234,15 +234,16 @@
</script>
<script type="text/x-red" data-help-name="e-mail in">
<p>Repeatedly gets a <b>single email</b> from an IMAP server and forwards on as a msg if not already seen.</p>
<p>Repeatedly gets emails from an IMAP server and forwards on as a msg if not already seen.</p>
<p>The subject is loaded into <code>msg.topic</code> and <code>msg.payload</code> is the plain text body.
If there is text/html then that is returned in <code>msg.html</code>. <code>msg.from</code> and <code>msg.date</code> are also set if you need them.</p>
<p>Additionally <code>msg.header</code> contains the complete header object including
<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>Uses the imap module.</p>
<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>
<p>Note: 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>
<pre>

View File

@ -1,11 +1,11 @@
{
"name": "node-red-node-email",
"version": "1.6.0",
"version": "1.6.2",
"description": "Node-RED nodes to send and receive simple emails",
"dependencies": {
"imap": "^0.8.19",
"mailparser": "^2.7.1",
"nodemailer": "^6.1.1",
"nodemailer": "^6.2.1",
"poplib": "^0.1.7"
},
"repository": {