Printing UTF-8 mail to terminal

dieter.maurer at online.de dieter.maurer at online.de
Fri Nov 1 12:38:01 EDT 2024


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`?


More information about the Python-list mailing list