114 lines
3.6 KiB
Plaintext
114 lines
3.6 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 2001-2016, Python Software Foundation
|
|
# This file is distributed under the same license as the Python package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Python 3.5\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2016-10-30 10:42+0100\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../Doc/library/email-examples.rst:4
|
|
msgid ":mod:`email`: Examples"
|
|
msgstr ":mod:`email`: Exemples"
|
|
|
|
#: ../Doc/library/email-examples.rst:6
|
|
msgid ""
|
|
"Here are a few examples of how to use the :mod:`email` package to read, "
|
|
"write, and send simple email messages, as well as more complex MIME messages."
|
|
msgstr ""
|
|
"Cette page contient quelques exemples de l'utilisation du package :mod:"
|
|
"`email` pour lire, écrire, et envoyer de simples messages email, ainsi que "
|
|
"des messages MIME plus complexes."
|
|
|
|
#: ../Doc/library/email-examples.rst:9
|
|
msgid "First, let's see how to create and send a simple text message:"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/email-examples.rst:14
|
|
msgid ""
|
|
"And parsing RFC822 headers can easily be done by the parse(filename) or "
|
|
"parsestr(message_as_string) methods of the Parser() class:"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/email-examples.rst:20
|
|
msgid ""
|
|
"Here's an example of how to send a MIME message containing a bunch of family "
|
|
"pictures that may be residing in a directory:"
|
|
msgstr ""
|
|
"Voici un exemple de l'envoi d'un message MIME contenant une série de photos "
|
|
"de famille qui sont stockés ensemble dans un dossier :"
|
|
|
|
#: ../Doc/library/email-examples.rst:26
|
|
msgid ""
|
|
"Here's an example of how to send the entire contents of a directory as an "
|
|
"email message: [1]_"
|
|
msgstr ""
|
|
"Voici un exemple d'envoi du contenu d'un dossier entier en tant que message "
|
|
"email : [1]_"
|
|
|
|
#: ../Doc/library/email-examples.rst:32
|
|
msgid ""
|
|
"Here's an example of how to unpack a MIME message like the one above, into a "
|
|
"directory of files:"
|
|
msgstr ""
|
|
"Voici un message de comment décomposer un message MIME comme celui ci dessus "
|
|
"en tant que fichiers dans un dossier :"
|
|
|
|
#: ../Doc/library/email-examples.rst:37
|
|
msgid ""
|
|
"Here's an example of how to create an HTML message with an alternative plain "
|
|
"text version: [2]_"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/email-examples.rst:46
|
|
msgid "Examples using the Provisional API"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/email-examples.rst:47
|
|
msgid ""
|
|
"Here is a reworking of the last example using the provisional API. To make "
|
|
"things a bit more interesting, we include a related image in the html part, "
|
|
"and we save a copy of what we are going to send to disk, as well as sending "
|
|
"it."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/email-examples.rst:51
|
|
msgid ""
|
|
"This example also shows how easy it is to include non-ASCII, and simplifies "
|
|
"the sending of the message using the :meth:`.send_message` method of the :"
|
|
"mod:`smtplib` module."
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/email-examples.rst:57
|
|
msgid ""
|
|
"If we were instead sent the message from the last example, here is one way "
|
|
"we could process it:"
|
|
msgstr ""
|
|
|
|
#: ../Doc/library/email-examples.rst:62
|
|
msgid "Up to the prompt, the output from the above is:"
|
|
msgstr "La sortie textuelle du code ci dessus est :"
|
|
|
|
#: ../Doc/library/email-examples.rst:76
|
|
msgid "Footnotes"
|
|
msgstr "Notes"
|
|
|
|
#: ../Doc/library/email-examples.rst:77
|
|
msgid ""
|
|
"Thanks to Matthew Dixon Cowles for the original inspiration and examples."
|
|
msgstr ""
|
|
"Merci à Matthew Dixon Cowles pour l'inspiration originale et les exemples."
|
|
|
|
#: ../Doc/library/email-examples.rst:78
|
|
msgid "Contributed by Martin Matejek."
|
|
msgstr ""
|