# Email succeeds on one server but fails on other

**URL:** https://discourse.nodered.org/t/email-succeeds-on-one-server-but-fails-on-other/23213
**Category:** General
**Created:** [17 March 2020 06:31 UTC](https://discourse.nodered.org/t/email-succeeds-on-one-server-but-fails-on-other/23213 "2020-03-17T06:31:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![faisalchishti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/faisalchishti/32/18445_2.png) [@faisalchishti](https://discourse.nodered.org/u/faisalchishti)
#### Post date: [17 March 2020 06:31 UTC](https://discourse.nodered.org/t/email-succeeds-on-one-server-but-fails-on-other/23213/1 "2020-03-17T06:31:06Z")

</div>

We are using Docker and one of my flow uses **node-red-node-email** node to send out an email after a certain action. The email node works good in our dev environment but does not work in production (Same image is pushed to couple other servers that serve as production)

Error:

> Error: Invalid greeting from server:  
> 421 4.3.2 Service not available: 421 4.3.2 Service not available

Using smtp on port 25 without SSL.

`[{"id":"9d9d4870.a1cce8","type":"e-mail","z":"958f5a0e.571f38","server":"smtp.abc.xyz.com","port":"25","secure":false,"name":"","dname":"","x":1291,"y":2066.444580078125,"wires":[]}]`

Please note that this was working earlier and stopped working all of a sudden. I am absolutely clueless. Any inputs? @knolleary

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [17 March 2020 08:46 UTC](https://discourse.nodered.org/t/email-succeeds-on-one-server-but-fails-on-other/23213/2 "2020-03-17T08:46:50Z")

</div>

SMTP error 421 is not a specified error, it's more an randomly used error.  
Check with your provider what this error means.

---

<div class="post-metadata">

### Author: ![faisalchishti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/faisalchishti/32/18445_2.png) [@faisalchishti](https://discourse.nodered.org/u/faisalchishti)
#### Post date: [17 March 2020 10:05 UTC](https://discourse.nodered.org/t/email-succeeds-on-one-server-but-fails-on-other/23213/4 "2020-03-17T10:05:29Z")

</div>

@edge11 It was indeed an internal issue. The service had been deactivated. Thanks.

---

<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: [31 March 2020 10:05 UTC](https://discourse.nodered.org/t/email-succeeds-on-one-server-but-fails-on-other/23213/5 "2020-03-31T10:05:30Z")

</div>

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