Skip to content

com.notkamui.libs.kourrier 0.2.2 Latest version

Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
  <groupId>com.notkamui.libs</groupId>
  <artifactId>kourrier</artifactId>
  <version>0.2.2</version>
</dependency>
Install 2/2: Run via command line
$ mvn install

About this package

Exceptions and folder reopening

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