# I don't arrive to send an email with node email

**URL:** https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947
**Category:** General
**Created:** [20 August 2021 08:41 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947 "2021-08-20T08:41:08Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [20 August 2021 08:41 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/1 "2021-08-20T08:41:08Z")

</div>

The email send failed. And I got this error message : "Error: Connect ECONNREFUSED ipaddres:465"

 ![Capture2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/c/3ca1bda40e6d332fb18debfefc314fe1b1a74b6f.png)  
 ![Capture3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/3/9309e1abf4f43453bc7bededf7b9d92a4077e153.png)

Someone have some suggestions ?

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [20 August 2021 11:01 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/2 "2021-08-20T11:01:53Z")

</div>

Are you trying to send via Gmail, [smtp.gmail.com](http://smtp.gmail.com)?

---

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [20 August 2021 14:26 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/3 "2021-08-20T14:26:52Z")

</div>

ECONNREFUSED means the mail server is not listening on either the port or host you have configured, you need to check that you have the correct details for the mail server

---

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [23 August 2021 06:20 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/4 "2021-08-23T06:20:48Z")

</div>

Yes I'm trying to send with gmail ([smtp.gmail.com](http://smtp.gmail.com))

---

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [23 August 2021 06:31 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/5 "2021-08-23T06:31:35Z")

</div>

I think I have configured it well  
 ![Capture5](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/c/fc4bdeb0f3e26f0627a5dc65da9ce6453249e988.png)  
For to : I have put the recipient of the email  
For Userid : I have put the user and the email sender but the both doesn't works  
and for password I have put the pwd of the sender.

---

<div class="post-metadata">

### Author: ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)
#### Post date: [23 August 2021 06:42 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/6 "2021-08-23T06:42:58Z")

</div>

Have you .....

## GMail users

If you are accessing GMail you may need to either enable [an application password](https://support.google.com/mail/answer/185833?hl=en), or enable [less secure access](https://support.google.com/accounts/answer/6010255?hl=en) via your Google account settings.

as found in the documentation on the node....[node-red-node-email (node) - Node-RED](https://flows.nodered.org/node/node-red-node-email)

---

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [23 August 2021 07:05 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/7 "2021-08-23T07:05:17Z")

</div>

Yes I have already did it I have enable less secure access via my Google account settings

---

<div class="post-metadata">

### Author: ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)
#### Post date: [23 August 2021 07:12 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/8 "2021-08-23T07:12:01Z")

</div>

Well you may have to wait for a gmail user to help you on this one.  
I run my own email server for my node-red stuff ☹

---

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [23 August 2021 07:16 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/9 "2021-08-23T07:16:03Z")

</div>

Ok no problem may be I will try with an other email than gmail.  
Thanks you for your help !

---

<div class="post-metadata">

### Author: ![nyghtrider](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@nyghtrider](https://discourse.nodered.org/u/nyghtrider)
#### Post date: [23 August 2021 10:25 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/10 "2021-08-23T10:25:07Z")

</div>

I have several devices using gmail accounts to send emails but I always use the 'app password' generated by Google in the Security settings of your [google.com](http://google.com) account. I find the 'enable less secure device' does not always work.

---

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [23 August 2021 10:59 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/11 "2021-08-23T10:59:20Z")

</div>

Ok thanks tou for your comment I will try this. After you get the app password you paste it in the password cell ?

---

<div class="post-metadata">

### Author: ![nyghtrider](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@nyghtrider](https://discourse.nodered.org/u/nyghtrider)
#### Post date: [23 August 2021 11:08 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/12 "2021-08-23T11:08:45Z")

</div>

Yes, follow further down the security settings page and create an app password.  
Keep a copy of the password for your records.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/1/e1ccb08f88eb4789a5a5608d0c0ac41bf9b005c7.png)

---

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [23 August 2021 14:27 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/13 "2021-08-23T14:27:44Z")

</div>

Thanks for your message but I have always the same error.

And after some manipulations I don't have anymore the palette menu in Node-RED and have this message when I write this : "node-red" in the command prompt :

 ![Capture6](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/f/ef449ad3923dc8a01a2084bff9f846a6bea69b25.png)

---

<div class="post-metadata">

### Author: ![nyghtrider](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@nyghtrider](https://discourse.nodered.org/u/nyghtrider)
#### Post date: [24 August 2021 08:40 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/14 "2021-08-24T08:40:59Z")

</div>

Hi nke9, the current version of Node-Red is v1.3.5 and current node.js is v12.22.2 or more so you should consider upgrading. Also my version of linux is 5.10.17-v7+.  
That might help.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/5/a5acc11557f7213fc415fd970ffc349160152743.png)

---

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [24 August 2021 09:09 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/15 "2021-08-24T09:09:32Z")

</div>

Tanks you for your help nyghtrider, I can't update the version of my linux but I can try to update node.js and Node-RED.

---

<div class="post-metadata">

### Author: ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)
#### Post date: [24 August 2021 09:12 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/16 "2021-08-24T09:12:55Z")

</div>

OMG .... upgrade @nke9

This reminds me of my Dad in year 2003 running a 233mhz from mid 90's trying to be online....  
ME: "Dad you need a new computer"  
DAD: "....but its a Pentium"

But I do have some old node-red pi's out there in the network that never give me trouble  
 ![Screenshot from 2021-08-24 05-15-34](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/a/7af7f03d3ea056ede2496dbaf0310e9c925b9d68.jpeg)

oh god ... I've become my old man

---

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [24 August 2021 09:38 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/17 "2021-08-24T09:38:39Z")

</div>

😅  
I can't upgrade because it's on an embeded system.  
So it's possible that my error doesn't come from the version of Node-RED.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [24 August 2021 09:52 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/18 "2021-08-24T09:52:40Z")

</div>

What version of the email do you have installed?  
You can find out by going to the palette managed.

---

<div class="post-metadata">

### Author: ![nke9](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nke9/32/46752_2.png) [@nke9](https://discourse.nodered.org/u/nke9)
#### Post date: [24 August 2021 10:56 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/19 "2021-08-24T10:56:35Z")

</div>

The problem is that I can't acces anymore to the palette managed.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [24 August 2021 13:51 UTC](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947/20 "2021-08-24T13:51:51Z")

</div>

You probably need to update npm too.

Make sure you have a full backup then run the install script.

```auto
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

```

[Next page](https://discourse.nodered.org/t/i-dont-arrive-to-send-an-email-with-node-email/49947.md?page=2)
