Skip to content

Commit

Permalink
Merge pull request ReachFive#10 from sourabh8003/master
Browse files Browse the repository at this point in the history
Bugfix: Mail command failed: 421 Error: too many unauthenticated commands
  • Loading branch information
jcdelmas authored Jun 5, 2018
2 parents b37484a + 8a84096 commit 7c0cc0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const mails = [];

const server = new SMTPServer({
authOptional: true,
maxAllowedUnauthenticatedCommands: 1000,
onMailFrom(address, session, cb) {
if (whitelist.length == 0 || whitelist.indexOf(address.address) !== -1) {
cb();
Expand Down

0 comments on commit 7c0cc0a

Please sign in to comment.