We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mailbox._get_mailbox_client
Here is an error from CI:
self = <imap_tools.mailbox.MailBox object at 0x106d83800> def _get_mailbox_client(self) -> imaplib.IMAP4: if PYTHON_VERSION_MINOR < 9: return imaplib.IMAP4_SSL(self._host, self._port, self._keyfile, self._certfile, self._ssl_context) else: > return imaplib.IMAP4_SSL(self._host, self._port, self._keyfile, self._certfile, self._ssl_context, self._timeout) E TypeError: IMAP4_SSL.__init__() takes from 1 to 3 positional arguments but 7 were given
Since Python 3.12 only host and port are positional arguments. ssl_context and timeout must be keyword arguments, while keyfile and certfile are deprecated: https://docs.python.org/3.12/library/imaplib.html#imaplib.IMAP4_SSL
host
port
ssl_context
timeout
keyfile
certfile
The text was updated successfully, but these errors were encountered:
Thanks, will fix soon
Sorry, something went wrong.
https://github.com/ikvk/imap_tools/releases/tag/v1.3.0
No branches or pull requests
Here is an error from CI:
Since Python 3.12 only
host
andport
are positional arguments.ssl_context
andtimeout
must be keyword arguments, whilekeyfile
andcertfile
are deprecated: https://docs.python.org/3.12/library/imaplib.html#imaplib.IMAP4_SSLThe text was updated successfully, but these errors were encountered: