Lines Matching +full:enable +full:- +full:ssl +full:- +full:trace
1 :mod:`imaplib` --- IMAP4 protocol client
21 --------------
69 IMAP4 server errors cause this exception to be raised. This is a sub-class of
77 server. This is a sub-class of :exc:`IMAP4.error`. Some other client now has
78 write permission, and the mailbox will need to be re-opened to re-obtain write
88 This is a subclass derived from :class:`IMAP4` that connects over an SSL
90 with SSL support). If *host* is not specified, ``''`` (the local host) is used.
91 If *port* is omitted, the standard IMAP4-over-SSL port (993) is used.
92 *ssl_context* is a :class:`ssl.SSLContext` object which allows bundling
93 SSL configuration options, certificates and private keys into a single
94 (potentially long-lived) structure. Please read :ref:`ssl-security` for
97 *keyfile* and *certfile* are a legacy alternative to *ssl_context* - they
98 can point to PEM-formatted private key and certificate chain files for
99 the SSL connection. Note that the *keyfile*/*certfile* parameters are
112 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
113 :data:`ssl.HAS_SNI`).
118 Please use :meth:`ssl.SSLContext.load_cert_chain` instead, or let
119 :func:`ssl.create_default_context` select the system's trusted CA
158 The return value is a string in the form: ``"DD-Mmm-YYYY HH:MM:SS
159 +HHMM"`` (including double-quotes). The *date_time* argument can
161 returned by :func:`time.time`), a 9-tuple representing local time
164 :class:`datetime.datetime`, or a double-quoted string. In the last
179 can all be found at (**Source Code**) https://github.com/uw-imap/imap (**Not Maintained**).
182 .. _imap4-objects:
185 -------------
188 upper-case or lower-case.
192 necessary (the string contains IMAP4 protocol-sensitive characters and isn't
206 of message numbers (``'2:4'``), or a group of non-contiguous ranges separated by
220 Authenticate command --- requires response processing.
222 *mechanism* specifies which authentication mechanism is to be used - it should
235 string usernames and passwords are now encoded to ``utf-8`` instead of
270 .. method:: IMAP4.enable(capability)
272 Enable *capability* (see :rfc:`5161`). Most capabilities do not need to be
277 The :meth:`enable` method itself, and :RFC:`6855` support.
296 Get the ``ACL``\ s for *mailbox*. The method is non-standard, but is supported
303 non-standard, but is supported by the ``Cyrus`` server.
321 the top-level mail folder, and *pattern* defaults to match anything. Returned
332 Force use of ``CRAM-MD5`` authentication when identifying the client to protect
334 phrase ``AUTH=CRAM-MD5``.
373 it will raise a :class:`ValueError` to reject creating a non-blocking socket.
379 .. audit-event:: imaplib.open self,host,port imaplib.IMAP4.open
429 the ``UTF8=ACCEPT`` capability was enabled using the :meth:`enable`
452 .. audit-event:: imaplib.send self,data imaplib.IMAP4.send
457 Set an ``ACL`` for *mailbox*. The method is non-standard, but is supported by
463 Set ``ANNOTATION``\ s for *mailbox*. The method is non-standard, but is
505 and should be a :class:`ssl.SSLContext` object. This will enable
506 encryption on the IMAP connection. Please read :ref:`ssl-security` for
513 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
514 :data:`ssl.HAS_SNI`).
525 section 6.4.6 of :rfc:`2060` as being one of "FLAGS", "+FLAGS", or "-FLAGS",
540 accept and produce such flags. There are non-Python programs which also
545 improves real-world compatibility.
611 the module variable ``Debug``. Values greater than three trace each command.
617 :meth:`enable` command is successfully issued for the ``UTF8=ACCEPT``
623 .. _imap4-example:
626 -------------