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

Commit 6dc8c84

Browse files
committed
Update IncomingMailExchange.kt
1 parent 5866f89 commit 6dc8c84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

simplekotlinmail-server/src/jvmMain/kotlin/net/axay/simplekotlinmail/server/exchange/IncomingMailExchange.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ abstract class IncomingMailExchange(val context: MessageContext) {
2828
*/
2929
fun dropConnection(message: String? = null, statusCode: Int? = null) {
3030
ifDropConnection = true
31+
dropConnectionMessage = message
32+
dropConnectionCode = statusCode
3133
}
3234

3335
internal fun throwExceptions() {

0 commit comments

Comments
 (0)