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

Commit 2d664d8

Browse files
committed
Update EmailDelivery.kt
1 parent ba26085 commit 2d664d8

File tree

1 file changed

+1
-1
lines changed
  • simplekotlinmail-client/src/jvmMain/kotlin/net/axay/simplekotlinmail/delivery

1 file changed

+1
-1
lines changed

simplekotlinmail-client/src/jvmMain/kotlin/net/axay/simplekotlinmail/delivery/EmailDelivery.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ suspend fun Email.send(
2222
onSuccess: suspend () -> Unit = {}
2323
) = withContext(Dispatchers.IO) {
2424
try {
25-
mailer.sendMail(this@send)
25+
mailer.sendMail(this@send, false)
2626
onSuccess()
2727
} catch (exc: Exception) {
2828
onException(exc)

0 commit comments

Comments
 (0)