Use default email policy to parse raw email

The default policy uses the EmailMessage class instead of the Message class
from the compat32 policy.
The EmailMessage decodes automatically the header values.

Closes #13607
(grafted from efda7f04d7cb78ead641821a8417feeeb512f2f6)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier
2024-10-19 16:24:29 +02:00
parent 22102e9c50
commit f1ca1da7e8

Diff Content Not Available