diff --git a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/ListenForNewMailsOptions.kt b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/ListenForNewMailsOptions.kt index 6ed93c9..ea4cf38 100644 --- a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/ListenForNewMailsOptions.kt +++ b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/ListenForNewMailsOptions.kt @@ -17,11 +17,13 @@ open class ListenForNewMailsOptions( emailFolderName: String = "INBOX", connectTimeoutSeconds: Int = 5, + showDebugOutputOnConsole: Boolean = false, + onError: ((FetchEmailError) -> Unit)? = null, onEmailReceived: (Email) -> Unit ) : FetchEmailsOptions( null, downloadMessageBody, downloadOnlyPlainTextOrHtmlMessageBody, null, downloadAttachmentsWithExtensions, attachmentsDownloadDirectory, - emailFolderName, connectTimeoutSeconds, onError, onEmailReceived + emailFolderName, connectTimeoutSeconds, showDebugOutputOnConsole, onError, onEmailReceived ) \ No newline at end of file