hpi-swa-teaching / IMAPClient

This project provides a library and tool set to access email through IMAP in the Squeak/Smalltalk environment. (SWT22-13)
MIT License
22 stars 3 forks source link

Implement timeout for fetchNextReponse #42

Open julianweise opened 8 years ago

julianweise commented 8 years ago

Currently, the framework does not time out if fetchNextResponse does not deliver a response.

felixrindt commented 5 years ago

Can reproduce. When clicking "Update" without internet connection, the app tries to fetch emails and wont stop alone after waiting for at least 20 seconds.

When I aborted using Alt+., the connection was broken: When the internet connection is enabled again, I get a NumberParserError, which is related to #29.

JuliaJoch commented 4 years ago

Possible Solution: When update is called we need to check the connection before fetching the Folders and Mails. There already is a Method that tests the connection on the Endpoint.