KB0020607 : Mail import giving “Exception in breaking the input file. Batch Contains all Non-supported File” Exception

KB Article#:



Mail Import

Applies to: 

Before 4.5 (In Ephesoft Transact versions only)


We may observe an issue where  batches are failing in folder import module with Error message: Exception in breaking the input file. Batch Contains all Non-supported Filein cases where the input is provided using email import functionality where we are only processing attachments in an email rather than the body of the mail.

Root Cause:

This is a missing functionality in Ephesoft versions before Transact 4.5 where dcma.mail.import.mail_body_download_flag property is set to 1 i.e. don’t download body, download only attachments in mail-import.properties file and you are processing a mail which is not having any attachment.

Since the email gets processed and nothing gets downloaded an empty folder gets created in drop folder leading to above mentioned exception.


This use case has now been fixed in 4.5 where Ephesoft will not create a new Batch instance in case dcma.mail.import.mail_body_download_flag property is set to 1 and the email is having no attachments.