-
Notifications
You must be signed in to change notification settings - Fork 230
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
Silent failure on misspelled options #199
Comments
that is a great UX suggestion. pull requests are welcome. |
I also never got any emails until I understood my mixed options. Please, some error/failure message will be helpful. |
as of 2ce27a2 the constructor will error if it receives a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I hesitate to admit how many hours this cost me...
How quickly can you spot the problem here?
Finally after sifting through log files on my mail server I found that the SMTP authentication just isn't happening at all. The "username" option does not exist, it should be "user".
So, my strong suggestion would be to whitelist the options and throw an exception if there are any unrecognized properties on the options object.
Would be happy to submit a PR for this...
The text was updated successfully, but these errors were encountered: