[S22.Imap] When making the connection it gives a timeout
Forge component by Pedro Freire
Application Type
Traditional Web, Reactive

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

Solution

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.

Solution

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.


Looks like i was using the wrong port. I needed to use the port 143 and set false the useSSL

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.