You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there.
For the feature I develop I'd like to specify the IMAP connection timeout, so the Imbox fails out after X seconds if it cannot establish connection with the host:port (for instance because of the firewall).
How that can be done?
The text was updated successfully, but these errors were encountered:
In my project I'm bound to python v3.8 (hope we will upgrade soon). Looks like using socket.setdefaulttimeout is the way for me. Going to implement it as a context manger within my imbox wrapper.
Hi there.
For the feature I develop I'd like to specify the IMAP connection timeout, so the Imbox fails out after X seconds if it cannot establish connection with the host:port (for instance because of the firewall).
How that can be done?
The text was updated successfully, but these errors were encountered: