diff --git a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/EmailsFetcher.kt b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/EmailsFetcher.kt index b1aae67..893c551 100644 --- a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/EmailsFetcher.kt +++ b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/EmailsFetcher.kt @@ -195,7 +195,7 @@ open class EmailsFetcher( } val filename = File(part.fileName) - val extension = filename.extension + val extension = filename.extension.lowercase() val (invoice, invoiceFile) = tryToReadEInvoice(part, extension, messagePart.mediaType, status)