IMAP POP3 module encryption key

0
I was able to retrieve mail in my local environment, but when deploying to on-premise server I'm getting errors. This is what I added to my yaml file. Encryption.EncryptionPrefix: "{AES}" Encryption.LogNode: "Encryption" Encryption.EncryptionKey: "THISISTHEKEY2016" 2016-09-30 11:36:32.249 WARNING - Encryption: The string provided is not an encrypted string.^M Returning the plain string. 2016-09-30 11:36:44.655 ERROR - ActionManager: Exception in execution of monitored action 'eQuote.RetrieveEmail' (execution id: 4484403b-4a23-4cf6-9633-96c3e43e17f9, execution type: SCHEDULEDEVENT) 2016-09-30 11:36:44.655 ERROR - ActionManager: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.IllegalStateException: This operation is not allowed on a closed folder at IMAPPOP3email.DSReceiveEmails (JavaAction : 'RetrieveEmailMessages') at eQuote.RetrieveEmail (SubMicroflow : 'DS_ReceiveEmails')
asked
1 answers
0

Hi tracy, I just ran across this issue myself and fixed it. In the email module, there's a file called "EmailHandler.java". In there, replace line 313 with this:

    if(moveFolder.isOpen()) {
        moveFolder.close(true);
    }

I don't believe this module is on GitHub, so I've created a Mendix Support ticket to have it reviewed.

answered