Hello,
I'm trying to send a mail using Node-RED but I always have the error "Erreur: fermeture inattendue du socket". Someone can help me please ?
Thanks
Hello,
I'm trying to send a mail using Node-RED but I always have the error "Erreur: fermeture inattendue du socket". Someone can help me please ?
Thanks
Hi @VictorKobayashi,
The unexpected socket closure means there's some sort of network configuration issue between Node-Red and whatever is sending the mail ... probably a Firewall rule or something like that, but it could also be the mail provider rejecting an unexpected config or bad TLS connection.
For anymore help than that we would need to know: what node you are using to send the mail and what mail service you are using.
Victor, you did not include your flow. The link does nothing.
I'm sorry.
[{"id":"659a903.878ce7","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"8318e95e.576d98","type":"e-mail","z":"659a903.878ce7","server":"smtp.gmail.com","port":"465 ","secure":false,"tls":true,"name":"victor-kobayashi@hotmail.com","dname":"","x":690,"y":300,"wires":},{"id":"9a19583f.169c68","type":"inject","z":"659a903.878ce7","name":"","topic":"","payload":"Hello World","payloadType":"str","repeat":"30","crontab":"","once":true,"onceDelay":0.1,"x":390,"y":300,"wires":[["8318e95e.576d98","f8a3e2e.077d92"]]},{"id":"f8a3e2e.077d92","type":"debug","z":"659a903.878ce7","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":630,"y":240,"wires":}]
Go read this thread: How to share code or flow json
then edit your last post
[{"id":"659a903.878ce7","type":"tab","label":"Flow 2","disabled":true,"info":""},{"id":"8318e95e.576d98","type":"e-mail","z":"659a903.878ce7","server":"smtp.gmail.com","port":"465 ","secure":false,"tls":true,"name":"victor-kobayashi@hotmail.com","dname":"","x":690,"y":300,"wires":[]},{"id":"9a19583f.169c68","type":"inject","z":"659a903.878ce7","name":"","topic":"","payload":"Hello World","payloadType":"str","repeat":"30","crontab":"","once":true,"onceDelay":0.1,"x":390,"y":300,"wires":[["8318e95e.576d98","f8a3e2e.077d92"]]},{"id":"f8a3e2e.077d92","type":"debug","z":"659a903.878ce7","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":630,"y":240,"wires":[]}]
Ahh you arte trying to send via gmail. have you done a forum search of 'gmail'?
As a note, I don't think Gmail will allow you to connect with a non-Gmail address.
You might have a Google account with your Hotmail address, but Google will not allow you to send from a non-google domain (or at least a domain that is configured with Google).