Skip to content

Handling SMTP's "554 Too many nonmail commands" #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aularon opened this issue May 2, 2014 · 1 comment
Closed

Handling SMTP's "554 Too many nonmail commands" #262

aularon opened this issue May 2, 2014 · 1 comment

Comments

@aularon
Copy link

aularon commented May 2, 2014

Hello,

There's a problem with some mail servers (I am using name.com's) when sending too many NOOP, here's the debug output:

CLIENT (DATA) 1:
└──------Nodemailer-0.6.3-?=_1-1399044830098--
SERVER 1:
└──250 OK id=xxx-xx-x
Sent: 250 OK id=xxx-xx-x
CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK
CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK
CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK
CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK
CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK
CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK
CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK

CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK
CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK
CLIENT 1:
└──NOOP
SERVER 1:
└──250 OK
CLIENT 1:
└──NOOP
SERVER 1:
└──554 Too many nonmail commands

After that, all subsequent emails are not sent, no errors no nothing, the transport fails silently.

Thanks for the useful module :)

@andris9
Copy link
Member

andris9 commented May 3, 2014

This was a bug, NOOP errors were not handled properly. This was an issue with underlying simplesmtp module, not Nodemailer itself. You should remove Nodemailer and reinstall it, if you just try to update Nodemailer, the simplesmtp dependency is probably not updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants