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

Update email node readme to be less confusing

Bump pre-reqs as well
This commit is contained in:
Dave Conway-Jones 2019-02-24 23:07:38 +00:00
parent 3d06102d1e
commit 1f8ab3ebb7
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 7 additions and 11 deletions

View File

@ -7,7 +7,8 @@ node-red-node-email
Pre-requisite
-------------
You will need valid email credentials for your email server.
You will need valid email credentials for your email server. For GMail this may mean
getting an application password if you have two-factor authentication enabled.
**Note :** Version 1.x of this node requires **Node.js v8** or newer.
@ -16,18 +17,13 @@ Install
-------
Version 0.x of this node is usually installed by default by Node-RED.
To install version 1.x you need to uninstall the existing version.
cd /usr/lib/node_modules/node-red
sudo npm uninstall --unsafe-perm node-red-node-email
Then run the following command in your Node-RED user directory - typically `~/.node-red`
As long as you have at least version 0.19.x of Node-RED you can install the new version
by using the `Menu - Manage Palette` option, or running the following command in your
Node-RED user directory - typically `~/.node-red`
cd ~/.node-red
npm i node-red-node-email
**Note :** this installs the new version locally rather than globally. This can then be managed by the palette manager.
Usage
-----

View File

@ -1,10 +1,10 @@
{
"name": "node-red-node-email",
"version": "1.2.0",
"version": "1.3.0",
"description": "Node-RED nodes to send and receive simple emails",
"dependencies": {
"imap": "^0.8.19",
"mailparser-mit": "^0.6.2",
"mailparser-mit": "^1.0.0",
"nodemailer": "^4.7.0",
"poplib": "^0.1.7"
},