[Enhancement]: Cannot use empty SMTP_USER & SMTP_PWD
Contact Details
No response
What happened?
ShelfStackError 👀: SMTP_PWD is not set
What is the expected behaviour?
Allow empty usage of usr/pw as some SMTP relays are authenticated by IP
Version
Self-hosted
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
hey @jon91. Thanks for opening an issue in our repository.
Currently thats what we have built and we support. We understand that there are many different ways you can auth but thats the approach we have taken so far. That being said, I will re-label your issue as its not a bug, but rather an enhancement request.
If you are interested in having auth working in different way, please feel free to open a PR with your suggestion. You can find the contribution guide here: https://github.com/Shelf-nu/shelf.nu/blob/main/CONTRIBUTING.md
Moreover, I will point you to the file where we initiate our transporter used for sending emails: https://github.com/Shelf-nu/shelf.nu/blob/main/app/emails/transporter.server.ts
Please let us know if you have any other questions.
Closing due to inactivity