Kotlinmailer v1.1.21 Help

Email API

Send that email

Go to the Mailer API.

Use kotlinx.html

Go to Kotlin HTML DSL.

Copy an email

If you don't want to start blank with your email builder, you can copy another email and change it to your liking.

val copiedEmail = email.copy { // modify the email }

Forward an email

val forwardEmail = email.forward(from = "forwardaddress@example.org") { prependText("This is a forwarded message.") }

Reply to an email

val replyEmail = email.reply(from = "replyaddress@example.org", toAll = false) { prependText("This is a reply message.") }
Last modified: 01 September 2024