# SMTP input causes crash (Windows)

**URL:** <https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697>\
**Category:** General\
**Created:** [27 October 2022 22:24 UTC](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697 "2022-10-27T22:24:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![itcouldbeL](https://avatars.discourse-cdn.com/v4/letter/i/73ab20/32.png) [@itcouldbeL](https://discourse.nodered.org/u/itcouldbeL)\
**Post date:** [27 October 2022 22:24 UTC](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697/1 "2022-10-27T22:24:10Z")

</div>

Hi, Thanks for welcoming me to the forum!

I really hate to be that person who asks for help on a first post, but here we are...

I've got a brand new windows 10 pro machine which I installed node-red on to parse some local SMTP emails.

I installed the SMTP pallet and connected the SMTP in node to debug, and when I attempt to send a message to node-red I immediately get an error and a crash.

Attached is the full log from start to crash.

I'm not hugely familiar with the backend side of node-red so I'm really struggling with this. Thank you so much in advance for any advice!

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/0/f001eb17d6bda2f64f43a7e26af5863482ab6116.jpeg)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [28 October 2022 12:55 UTC](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697/2 "2022-10-28T12:55:14Z")

</div>

Welcome to the forum @itcouldbeL

Are you using node-red-contrib-mailin-smtp? If so then I see that it has not been updated for 7 years, and there is an issue posted in 2018 that has not been answered, so I think there is little chance of getting support from the author. I think you would probably be better to install a proper mailserver on your machine.

---

<div class="post-metadata">

**Author:** ![itcouldbeL](https://avatars.discourse-cdn.com/v4/letter/i/73ab20/32.png) [@itcouldbeL](https://discourse.nodered.org/u/itcouldbeL)\
**Post date:** [28 October 2022 13:18 UTC](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697/3 "2022-10-28T13:18:23Z")

</div>

Hi Colin, thanks for your reply.

Yes, that is the module I'm using.

I don't think a 'proler mailserver' will work. The plan is to receive emails from a cctv machine on site which can only communicate via SMTP.  
I need to use node-red to extract and split the email content (event time, type, channel, etc)  
Also, I wanted to use node-red as this would keep everything local and avoid reliance on the internet.

Would a 'proper mailserver' be able to take SMTP from the machine and then pass it to node-red?

Thank you.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [28 October 2022 13:22 UTC](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697/4 "2022-10-28T13:22:47Z")

</div>

Have you tried the node-red-node-email?

This has an MTA node that acts as a (very basic) SMTP server? It works for me (though I am on nodejs v16 not v18)

And `node-red-node-email` has certainly been updated more recently that 7 years.

---

<div class="post-metadata">

**Author:** ![itcouldbeL](https://avatars.discourse-cdn.com/v4/letter/i/73ab20/32.png) [@itcouldbeL](https://discourse.nodered.org/u/itcouldbeL)\
**Post date:** [28 October 2022 14:31 UTC](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697/5 "2022-10-28T14:31:40Z")

</div>

Thank you! I had looked and didn't think there was any other SMTP options.

I'll try as soon as I can and report back. Thanks!

---

<div class="post-metadata">

**Author:** ![itcouldbeL](https://avatars.discourse-cdn.com/v4/letter/i/73ab20/32.png) [@itcouldbeL](https://discourse.nodered.org/u/itcouldbeL)\
**Post date:** [29 October 2022 12:40 UTC](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697/6 "2022-10-29T12:40:16Z")

</div>

this worked great for me, thank you!

It turns out I had actually installed it when struggling with the initial SMTP module, but after blank searches for 'SMTP' in the docs, i didn't think it was an option.

There's a lesson there somewhere about perseverance.

Thank you very much for your help! Now, onto the next thing... 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 November 2022 12:40 UTC](https://discourse.nodered.org/t/smtp-input-causes-crash-windows/69697/7 "2022-11-12T12:40:31Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
