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
The IMAP4 class constructor has a conn_lost_cb parameter. Strangely enough the IMAP4_SSL class constructor does not have one, and it passes None as the conn_lost_cb parameter to the IMAP4 constructor. This is annoying when one does want to use a callback to handle an IMAP4 SSL connection loss. By just adding this parameter to the IMAP4_SSL constructor like this
The IMAP4 class constructor has a conn_lost_cb parameter. Strangely enough the IMAP4_SSL class constructor does not have one, and it passes None as the conn_lost_cb parameter to the IMAP4 constructor. This is annoying when one does want to use a callback to handle an IMAP4 SSL connection loss. By just adding this parameter to the IMAP4_SSL constructor like this
I have been able to use it with success and no visible downside, so I would suggest incorporating this modification into the source code.
The text was updated successfully, but these errors were encountered: