jazzband / imaplib2

Fork of Piers Lauder's imaplib2 library for Python.
https://imaplib2.readthedocs.io/
MIT License
33 stars 29 forks source link

Use resp_timeout for socket connection #43

Open c4ffein opened 2 years ago

c4ffein commented 2 years ago

See #42

There is actually no easy way to set the timeout for the first socket connection. We could just use the resp_timeout attribute of the IMAP4 class. Otherwise we could add another parameter to __init__.