# SOME DESCRIPTIVE TITLE. # Copyright (C) 1990-2016, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 2.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-10-30 10:44+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/poplib.rst:2 msgid ":mod:`poplib` --- POP3 protocol client" msgstr "" #: ../Doc/library/poplib.rst:11 msgid "**Source code:** :source:`Lib/poplib.py`" msgstr "**Code source :** :source:`Lib/poplib.py`" #: ../Doc/library/poplib.rst:15 msgid "" "This module defines a class, :class:`POP3`, which encapsulates a connection " "to a POP3 server and implements the protocol as defined in :rfc:`1725`. " "The :class:`POP3` class supports both the minimal and optional command sets. " "Additionally, this module provides a class :class:`POP3_SSL`, which provides " "support for connecting to POP3 servers that use SSL as an underlying " "protocol layer." msgstr "" #: ../Doc/library/poplib.rst:22 msgid "" "Note that POP3, though widely supported, is obsolescent. The implementation " "quality of POP3 servers varies widely, and too many are quite poor. If your " "mailserver supports IMAP, you would be better off using the :class:`imaplib." "IMAP4` class, as IMAP servers tend to be better implemented." msgstr "" #: ../Doc/library/poplib.rst:27 msgid "The :mod:`poplib` module provides two classes:" msgstr "" #: ../Doc/library/poplib.rst:32 msgid "" "This class implements the actual POP3 protocol. The connection is created " "when the instance is initialized. If *port* is omitted, the standard POP3 " "port (110) is used. The optional *timeout* parameter specifies a timeout in " "seconds for the connection attempt (if not specified, the global default " "timeout setting will be used)." msgstr "" #: ../Doc/library/poplib.rst:38 msgid "*timeout* was added." msgstr "Ajout de *timeout*." #: ../Doc/library/poplib.rst:44 msgid "" "This is a subclass of :class:`POP3` that connects to the server over an SSL " "encrypted socket. If *port* is not specified, 995, the standard POP3-over-" "SSL port is used. *keyfile* and *certfile* are also optional - they can " "contain a PEM formatted private key and certificate chain file for the SSL " "connection." msgstr "" #: ../Doc/library/poplib.rst:51 msgid "One exception is defined as an attribute of the :mod:`poplib` module:" msgstr "" #: ../Doc/library/poplib.rst:56 msgid "" "Exception raised on any errors from this module (errors from :mod:`socket` " "module are not caught). The reason for the exception is passed to the " "constructor as a string." msgstr "" #: ../Doc/library/poplib.rst:64 msgid "Module :mod:`imaplib`" msgstr "Module :mod:`imaplib`" #: ../Doc/library/poplib.rst:64 msgid "The standard Python IMAP module." msgstr "" #: ../Doc/library/poplib.rst:68 msgid "" "`Frequently Asked Questions About Fetchmail `_" msgstr "" #: ../Doc/library/poplib.rst:67 msgid "" "The FAQ for the :program:`fetchmail` POP/IMAP client collects information on " "POP3 server variations and RFC noncompliance that may be useful if you need " "to write an application based on the POP protocol." msgstr "" #: ../Doc/library/poplib.rst:75 msgid "POP3 Objects" msgstr "" #: ../Doc/library/poplib.rst:77 msgid "" "All POP3 commands are represented by methods of the same name, in lower-" "case; most return the response text sent by the server." msgstr "" #: ../Doc/library/poplib.rst:80 msgid "An :class:`POP3` instance has the following methods:" msgstr "" #: ../Doc/library/poplib.rst:85 msgid "" "Set the instance's debugging level. This controls the amount of debugging " "output printed. The default, ``0``, produces no debugging output. A value " "of ``1`` produces a moderate amount of debugging output, generally a single " "line per request. A value of ``2`` or higher produces the maximum amount of " "debugging output, logging each line sent and received on the control " "connection." msgstr "" #: ../Doc/library/poplib.rst:94 msgid "Returns the greeting string sent by the POP3 server." msgstr "" #: ../Doc/library/poplib.rst:99 msgid "" "Send user command, response should indicate that a password is required." msgstr "" #: ../Doc/library/poplib.rst:104 msgid "" "Send password, response includes message count and mailbox size. Note: the " "mailbox on the server is locked until :meth:`~poplib.quit` is called." msgstr "" #: ../Doc/library/poplib.rst:110 msgid "Use the more secure APOP authentication to log into the POP3 server." msgstr "" #: ../Doc/library/poplib.rst:115 msgid "" "Use RPOP authentication (similar to UNIX r-commands) to log into POP3 server." msgstr "" #: ../Doc/library/poplib.rst:120 msgid "" "Get mailbox status. The result is a tuple of 2 integers: ``(message count, " "mailbox size)``." msgstr "" #: ../Doc/library/poplib.rst:126 msgid "" "Request message list, result is in the form ``(response, ['mesg_num " "octets', ...], octets)``. If *which* is set, it is the message to list." msgstr "" #: ../Doc/library/poplib.rst:132 msgid "" "Retrieve whole message number *which*, and set its seen flag. Result is in " "form ``(response, ['line', ...], octets)``." msgstr "" #: ../Doc/library/poplib.rst:138 msgid "" "Flag message number *which* for deletion. On most servers deletions are not " "actually performed until QUIT (the major exception is Eudora QPOP, which " "deliberately violates the RFCs by doing pending deletes on any disconnect)." msgstr "" #: ../Doc/library/poplib.rst:145 msgid "Remove any deletion marks for the mailbox." msgstr "" #: ../Doc/library/poplib.rst:150 msgid "Do nothing. Might be used as a keep-alive." msgstr "" #: ../Doc/library/poplib.rst:155 msgid "Signoff: commit changes, unlock mailbox, drop connection." msgstr "" #: ../Doc/library/poplib.rst:160 msgid "" "Retrieves the message header plus *howmuch* lines of the message after the " "header of message number *which*. Result is in form ``(response, " "['line', ...], octets)``." msgstr "" #: ../Doc/library/poplib.rst:164 msgid "" "The POP3 TOP command this method uses, unlike the RETR command, doesn't set " "the message's seen flag; unfortunately, TOP is poorly specified in the RFCs " "and is frequently broken in off-brand servers. Test this method by hand " "against the POP3 servers you will use before trusting it." msgstr "" #: ../Doc/library/poplib.rst:172 msgid "" "Return message digest (unique id) list. If *which* is specified, result " "contains the unique id for that message in the form ``'response mesgnum " "uid``, otherwise result is list ``(response, ['mesgnum uid', ...], octets)``." msgstr "" #: ../Doc/library/poplib.rst:176 msgid "" "Instances of :class:`POP3_SSL` have no additional methods. The interface of " "this subclass is identical to its parent." msgstr "" #: ../Doc/library/poplib.rst:183 msgid "POP3 Example" msgstr "" #: ../Doc/library/poplib.rst:185 msgid "" "Here is a minimal example (without error checking) that opens a mailbox and " "retrieves and prints all messages::" msgstr "" #: ../Doc/library/poplib.rst:198 msgid "" "At the end of the module, there is a test section that contains a more " "extensive example of usage." msgstr ""