Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

1.2.0

Compare
Choose a tag to compare
@jakobkmar jakobkmar released this 14 Jan 17:40
· 152 commits to main since this release

This release brings advanced TLS support to SimpleKotlinMail!
Just call setupTLS on your SMTPServer builder.
TLSv1.3 and TLSv1.2 are enabled by default, but you can change that to your liking.

The setupTLS function requires an SSLContext, which you can easily get with the utility function TLSContext. This function requires you to specify the keyStore and the trustStore file.

Additionally, you can now set and access the default mailer by using MailerManager.defaultMailer.

Furthermore, it is now possible to get the session out of a MessageContext by calling context.session. The session gives you access to a lot of internal information.