Issue with IMAP mail messages - "connection forcibly closed by remote host"

Hi - We are getting the below error message when using the activity ‘Get IMAP Mail Messages’ to retrieve the top 20 emails from an exchange mailbox.

Details: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

Has anyone seen something similar before?

Thanks!

Hi @adominguez,

There are lots of potential solutions to this online

https://support.microsoft.com/en-us/help/3025138/users-cannot-connect-to-pop3-or-imap4-on-exchange-server-2013-or-exchange-server-2016

http://stackoverflow.com/questions/5420656/unable-to-read-data-from-the-transport-connection-an-existing-connection-was-f

Have you tried these?

I have a similar issue when I try to use the “Get IMAP Mail Messages” I have reduced it down to just the one activity and it still generates the error.

{
“message”: “Get IMAP Mail Messages: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “15:34:55”,
“processVersion”: “1.0.0.0”,
“jobId”: “749a0649-f261-4776-ad0e-cab4029f1de1”,
“robotName”: “UIPATH”,
“machineId”: 0,
“fileName”: “test Get IMAP to Work”
}