Im doing the connection first
And it gives a timeout and after a litle bit it gives this error:
Any idea of what this might be? This is in a environment of a client but in my personal environment it works perfectly
That makes it clear, Flávio. The OutSystems or to be precise, component is unable to make a connection to the IMAP server. Since the server is behind a firewall which blocks all the incoming request, you get the connection timeout error.
Is your O365 has restricted access and accessible only behind a VPN connection?
Yes, i have to use a VPN to access the clients environment.
Looks like i was using the wrong port. I needed to use the port 143 and set false the useSSL