Closed sourabh8003 closed 6 years ago
Is there any workaround to this issue? Restart doesn't work, I am not able to send any more emails.
I noticed your PR, but it seems nobody else did... :(
@vatioz : PR has been merged by @jcdelmas. Now the issue can be closed.
Feature request (Bugfix)
Current Behaviour While sending emails through automated test cases to
fake-smtp-server
after few successful deliveries it's started throwing an error thatMail command failed: 421 Error: too many unauthenticated commands
due to the spam emails filtering condition for unauthenticated users or clients, this isnodemailer
configuration option, which is not implemented yet in this package.Resulting it's not allowing us to send email to the SMTP server, even if we pass the authentication credentials to the configuration it only works for the
API
calls to fetch the emails but not for SMTP server.Desired behavior We can pass one property with
fake-smtp-server
start command to set nodemailer'smaxAllowedUnauthenticatedCommands
.I will create a PR for the proposed fixes.