node-red-nodes
node-red-nodes copied to clipboard
node-red-node-email, send node "ReferenceError: msg is not defined" on deploy
excellent write up in this thread;
https://discourse.nodered.org/t/node-red-emailer-and-0auth2-referenceerror-msg-is-not-defined-function-check/86178/2
Intro- the node red email node when selecting the XOauth2 setting in the interface is giving the error "ReferenceError: msg is not defined when deployed.
Which node are you reporting an issue on?
node-red-node-email, send node
What are the steps to reproduce?
set the send node to use XOuth2 authentication and deploy the flow
What happens?
on deploy the "ReferenceError: msg is not defined" is displayed in the debug panel,
What do you expect to happen?
no error on deploy.
Please tell us about your environment:
- [ 3.1.3] Node-RED version:
- [v16.20.2 ] node.js version:
- [ 8.19.4] npm version:
- [ docker container, Ubuntu 22.04.4 LTS (server) ] Platform/OS:
- [mozilla ] Browser:
docker run command
docker run -it -p 1880:1880 -p 8080:8080 -v node_red_data:/data --network="host" --name mynodered nodered/node-red
Hi @wooferguy don't know if have time to have a look at this ? I guess that in the case of OAuth2 the actual setup of the connection needs to wait until the first message comes in with the token ?