Message355542
No way to pass a timeout to imaplib.IMAP4 or imaplib.IMAP4_SSL.
When opening the connection, the only way is to use socket.settimeout(), which affects the global execution environment.
It's interesting that poplib includes the needed timeout parameter instead... weird. I think it was forgotten for imaplib. |
|
Date |
User |
Action |
Args |
2019-10-28 13:58:01 | Jairo Llopis | set | recipients:
+ Jairo Llopis |
2019-10-28 13:58:01 | Jairo Llopis | set | messageid: <1572271081.51.0.380114547236.issue38615@roundup.psfhosted.org> |
2019-10-28 13:58:01 | Jairo Llopis | link | issue38615 messages |
2019-10-28 13:58:00 | Jairo Llopis | create | |
|