Sujet : Re: Printing UTF-8 mail to terminal
De : dieter.maurer (at) *nospam* online.de
Groupes : comp.lang.pythonDate : 01. Nov 2024, 17:38:01
Autres entêtes
Message-ID : <mailman.67.1730480556.4695.python-list@python.org>
References : 1 2 3 4 5 6
User-Agent : VM 8.0.12-devo-585 under 21.4 (patch 24) "Standard C" XEmacs Lucid (x86_64-linux-gnu)
Loris Bennett wrote at 2024-11-1 10:10 +0100:
...
mail.set_content(body, cte="quoted-printable")
In the line above, you request the content to use
the "cte" (= "Content-Transfer-Encoding") "quoted-printable"
and consequently, the content is encoded with `quoted-printable`.
Maybe, you do not need to pass `cte`?