FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-148770: Document quoting requirement for IMAP mailbox names with spaces by CodeLine9 · Pull Request #148785 · python/cpython · GitHub

/ cpython Public
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
6 changes: 6 additions & 0 deletions Doc/library/imaplib.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,12 @@ An :class:`IMAP4` instance has the following methods:
(``EXISTS`` response). The default *mailbox* is ``'INBOX'``. If the *readonly*
flag is set, modifications to the mailbox are not allowed.

.. note::

Mailbox names containing spaces must be quoted by the caller.
For example, to select a mailbox named ``my important mail``, use
``M.select('"my important mail"')``.


.. method:: IMAP4.send(data)

Expand Down
Loading

Back | FazBrowse Home | New Git URL