Summary
Previously, users would hit specific JavaMail exceptions ; those have been abstracted behind Kourrier exceptions.
Moreover, one can now reopen a folder without any issue.
Changelog
- Abstracted
AuthenticationFailedException
andMailConnectException
behindKourrierAuthenticationException
andKourrierConnectionException
respectively. - Fixed a bug where one couldn't reopen a closed folder with a keep-alive.
Changelog since last major version
- Optimized message query
- Properly caught InterruptedException when closing a listened folder
- Update to Kotlin 1.5.31
- One can now set a
keepAlive
Boolean to true when opening a folder, to make sure the connection stays alive until explicitly closed.
Integration
To use it, you just need to import the attached kourrier-0.2.2.jar
(optionally along with kourrier-0.2.2-sources.jar
and kourrier-0.2.2-javadoc.jar
if you want to be able to read the source and documentation code directly) OR to use your favorite dependency manager @com.notkamui.libs:kourrier:0.2.2
Usage
For further information on usage, please read README and Wiki.
Future plans
- SMTP connection