Decoding of EmailMessage text

Jon Ribbens jon+usenet at unequivocal.eu
Mon Aug 23 07:06:47 EDT 2021


On 2021-08-23, Loris Bennett <loris.bennett at fu-berlin.de> wrote:
> If instead of 
>
>   mail.set_content(body)
>
> I do 
>
>   mail.set_content(body, cte="quoted-printable")

Try print(mail.get_content()) rather than print(mail.as_string())


More information about the Python-list mailing list