mirror of https://github.com/python/cpython.git
parent
eb4ed15be8
commit
e5cf53ad89
|
@ -6,6 +6,7 @@
|
||||||
\section{Standard Module \module{imaplib}}
|
\section{Standard Module \module{imaplib}}
|
||||||
\stmodindex{imaplib}
|
\stmodindex{imaplib}
|
||||||
\label{module-imaplib}
|
\label{module-imaplib}
|
||||||
|
\indexii{IMAP4}{protocol}
|
||||||
|
|
||||||
This module defines a class, \class{IMAP4}, which encapsulates a
|
This module defines a class, \class{IMAP4}, which encapsulates a
|
||||||
connection to an IMAP4 server and implements the IMAP4rev1 client
|
connection to an IMAP4 server and implements the IMAP4rev1 client
|
||||||
|
@ -117,9 +118,11 @@ An \class{IMAP4} instance has the following methods:
|
||||||
envelope and data.
|
envelope and data.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{list}{directory='""', pattern='*'}
|
\begin{methoddesc}{list}{\optional{directory\optional{, pattern}}}
|
||||||
List mailbox names in directory matching pattern. Returned data contains a
|
List mailbox names in \var{directory} matching
|
||||||
list of \samp{LIST} responses.
|
\var{pattern}. \var{directory} defaults to the top-level mail
|
||||||
|
folder, and \var{pattern} defaults to match anything. Returned data
|
||||||
|
contains a list of \samp{LIST} responses.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{login}{user, password}
|
\begin{methoddesc}{login}{user, password}
|
||||||
|
@ -130,9 +133,11 @@ An \class{IMAP4} instance has the following methods:
|
||||||
Shutdown connection to server. Returns server \samp{BYE} response.
|
Shutdown connection to server. Returns server \samp{BYE} response.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{lsub}{directory='""', pattern='*'}
|
\begin{methoddesc}{lsub}{\optional{directory\optional{, pattern}}}
|
||||||
List subscribed mailbox names in directory matching
|
List subscribed mailbox names in directory matching pattern.
|
||||||
pattern. Returned data are tuples of message part envelope and data.
|
\var{directory} defaults to the top level directory and
|
||||||
|
\var{pattern} defaults to match any mailbox.
|
||||||
|
Returned data are tuples of message part envelope and data.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{recent}{}
|
\begin{methoddesc}{recent}{}
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
\section{Standard Module \module{imaplib}}
|
\section{Standard Module \module{imaplib}}
|
||||||
\stmodindex{imaplib}
|
\stmodindex{imaplib}
|
||||||
\label{module-imaplib}
|
\label{module-imaplib}
|
||||||
|
\indexii{IMAP4}{protocol}
|
||||||
|
|
||||||
This module defines a class, \class{IMAP4}, which encapsulates a
|
This module defines a class, \class{IMAP4}, which encapsulates a
|
||||||
connection to an IMAP4 server and implements the IMAP4rev1 client
|
connection to an IMAP4 server and implements the IMAP4rev1 client
|
||||||
|
@ -117,9 +118,11 @@ An \class{IMAP4} instance has the following methods:
|
||||||
envelope and data.
|
envelope and data.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{list}{directory='""', pattern='*'}
|
\begin{methoddesc}{list}{\optional{directory\optional{, pattern}}}
|
||||||
List mailbox names in directory matching pattern. Returned data contains a
|
List mailbox names in \var{directory} matching
|
||||||
list of \samp{LIST} responses.
|
\var{pattern}. \var{directory} defaults to the top-level mail
|
||||||
|
folder, and \var{pattern} defaults to match anything. Returned data
|
||||||
|
contains a list of \samp{LIST} responses.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{login}{user, password}
|
\begin{methoddesc}{login}{user, password}
|
||||||
|
@ -130,9 +133,11 @@ An \class{IMAP4} instance has the following methods:
|
||||||
Shutdown connection to server. Returns server \samp{BYE} response.
|
Shutdown connection to server. Returns server \samp{BYE} response.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{lsub}{directory='""', pattern='*'}
|
\begin{methoddesc}{lsub}{\optional{directory\optional{, pattern}}}
|
||||||
List subscribed mailbox names in directory matching
|
List subscribed mailbox names in directory matching pattern.
|
||||||
pattern. Returned data are tuples of message part envelope and data.
|
\var{directory} defaults to the top level directory and
|
||||||
|
\var{pattern} defaults to match any mailbox.
|
||||||
|
Returned data are tuples of message part envelope and data.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}{recent}{}
|
\begin{methoddesc}{recent}{}
|
||||||
|
|
Loading…
Reference in New Issue