summaryrefslogtreecommitdiff
path: root/tests/commands
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-30 13:33:27 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-30 13:33:27 +0100
commit5dfe5a2831adbe3ec129d2ede1d9039739e98b71 (patch)
treebf54920d084544c2e12cd532c94cf3bdcaa37f95 /tests/commands
parent27e9478faefecf5b290c0fbd3df5b1fe9e18c97f (diff)
db/envelope: switch to the "new" (EmailMessage) python API
email.mime is a part of the old API, which does not mix well with the new one (i.e. when email.policy.SMTP is used), specifically when non-ASCII headers are used. Additionally, clean the APIs that accept either EmailMessage or a str to only expect EmailMessage. Supporting both just adds confusion and complexity.
Diffstat (limited to 'tests/commands')
0 files changed, 0 insertions, 0 deletions