Skip to content

v0.2.2 - Exceptions and folder reopening

Latest
Compare
Choose a tag to compare
@notKamui notKamui released this 26 Sep 16:23
f91d538

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 and MailConnectException
    behind KourrierAuthenticationException and KourrierConnectionException 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