SimpleKotlinMail
SimpleKotlinMail copied to clipboard
[Feature Request] Authentication
Seems that the underlying library offers supplying an authentication factory. Is it possible this could be exposed while still benefiting from coroutines?
For which module and feature exactly do you need authentication where it currently is not possible?
My usecase was the server module and securing incoming messages and then parsing those messages into other things that will be used as notifications.
I tried FromListener and MailListener.
I see, well the underlying library is not really that well maintained anymore besides dependabot PRs, that's why I started to write https://github.com/jakobkmar/kotlin-smtp , but I did not have enough time to finish it. Maybe you can expand upon it, or maybe some rust lib like https://docs.rs/samotop/latest/samotop/ or go lib like https://github.com/emersion/go-smtp fits your needs.
That being said, if you really want to use this library and subethasmtp, I could make the underlying builder for the SMTPServer accessible in some way so that you could use all of its features. Or you could use subethasmtp without SimpleKotlinMail, it is not that hard to wrap it with coroutine functionality, and that way you could do it exactly how yo need it. However the problem of that library being very unmaintained still remains.