I am beginner in Node Red. I am trying to set mail from mail node. I am using gmail credentials. The node settings are as follows
Secure connection ticked
User Id email@example.com
Password: 8 character mixed case
When I deploy this node I find that my login credentials are blanked out. And the mail does not get sent with a error message in debug screen.
I tried many times, but could not send the mail. Is there a bug in the mail node?
Thanks I will check and revert back
Always worth actually tell us what the error message is...
Have you also followed the instructions for gmail in the Email nodes ReadMe?
Hello! Im having the same error. I previously had everything running on a Raspberry Pi with version 1.8.2. Now I am changing the RPi for a server and I installed the same node but version 1.11.0.
I have my gmail set to less secure apps already but still the node doesn't save the credentials.
Thanks in advance!
Which node is that? node-red-node-email current version is 1.8.3.
Can you show a screenshot showing where you are entering the credentials and another after they are lost. You can paste images directly in here.
Thanks for your answer...
This is the image before deploying
This one is after deploying
Thanks in advance!
And this is the node-red-node-email version (I was able to instert only 2 images)
Oh, you are right about the version. I wonder why mine is not offering an upgrade. That is a different issue for me to worry about though.
Can you stop node red and start it again in a terminal and paste the log here please, that will tell us about your environment. Copy/paste please not screenshot. When you paste it in use the
</> button at the top of the forum entry field and paste it in.
10 Apr 02:22:35 - [info]
Welcome to Node-RED
10 Apr 02:22:35 - [info] Node-RED version: v1.3.1
10 Apr 02:22:35 - [info] Node.js version: v10.24.0
10 Apr 02:22:35 - [info] Linux 4.19.0-16-amd64 x64 LE
10 Apr 02:22:35 - [info] Loading palette nodes
10 Apr 02:22:36 - [info] Dashboard version 2.28.2 started at /ui
10 Apr 02:22:36 - [info] Settings file : /home/cfr/.node-red/settings.js
10 Apr 02:22:36 - [info] Context store : 'default' [module=memory]
10 Apr 02:22:36 - [info] User directory : /home/cfr/.node-red
10 Apr 02:22:36 - [warn] Projects disabled : editorTheme.projects.enabled=false
10 Apr 02:22:36 - [info] Flows file : /home/cfr/.node-red/flows_automatizacion.json
How do you normally run node-red?
What does this show
ls -al /home/cfr/.node-red
Is everything owned by cfr as it should be?
Normally I only type "node-red" on the terminal and have it configured to start on boot.
It shows this:
cfr@automatizacion:~$ ls -al /home/cfr/.node-red
drwxr-xr-x 5 cfr cfr 4096 Apr 10 11:59 .
drwxr-xr-x 20 cfr cfr 4096 Apr 10 09:13 ..
-rw-r--r-- 1 cfr cfr 34550 Apr 10 11:22 .config.nodes.json
-rw-r--r-- 1 cfr cfr 33925 Apr 10 11:22 .config.nodes.json.backup
-rw-r--r-- 1 cfr cfr 95 Apr 8 15:02 .config.runtime.json
-rw-r--r-- 1 cfr cfr 420 Apr 10 08:28 .config.users.json
-rw-r--r-- 1 cfr cfr 333 Apr 10 08:28 .config.users.json.backup
-rw-r--r-- 1 cfr cfr 268 Apr 10 11:37 flows_automatizacion_cred.json
-rw-r--r-- 1 cfr cfr 156 Apr 10 11:37 .flows_automatizacion_cred.json.backup
-rw-r--r-- 1 cfr cfr 94121 Apr 10 11:59 flows_automatizacion.json
-rw-r--r-- 1 cfr cfr 94121 Apr 10 11:59 .flows_automatizacion.json.backup
drwxr-xr-x 2 cfr cfr 4096 Apr 9 10:12 hourglass
drwxr-xr-x 3 cfr cfr 4096 Apr 8 15:02 lib
drwxr-xr-x 130 cfr cfr 4096 Apr 10 11:22 node_modules
-rw-r--r-- 1 cfr cfr 714 Apr 10 11:22 package.json
-rw-r--r-- 1 cfr cfr 69394 Apr 10 11:22 package-lock.json
-rw-r--r-- 1 cfr cfr 15489 Apr 8 15:02 settings.js
For a strange reason it seems to be a browser issue.
Normally I use Chrome and works fine with the raspberry.
On this server on Chrome only loads the dashboard,but not the editor. It gets stuck on the "loading plugins" screen. So I had to work on the Internet Explorer.
What seemed to be strange is that I also got a node-red-contrib-ui-lednode error. It appeared to be missing, but it was installed and leds were displaying properly on Chrome. So I decided to give Firefox a try and everything is working perfectly! It saves the email credentials and leds work normally on dashboard and editor.
The wierd thing is that the raspberry's node red works perfectly on chrome, but not the server's node red.
It's my first post here so Hello everybody.
I recommend to watch this tutorial:
(827) How to Send Emails with Node-RED Using groov RIO - YouTube
Then go back to your Google account security settings and confirm You done all security changes (allowing less secure apps, adding the passswords).
In my case that help and all up and running
And please give for Opto more likes, he done a great job.