New submission from Andrzej Kubaszek <kubas...@prz.edu.pl>:

email.message - EmailMessage Error
Missing white space after folding on ','

msg['To'] = 'Ab Ć<a...@def.com>,Ab Ć<a...@def.com>,Ab Ć<a...@def.com>,Ab 
Ć<a...@def.com>'

print(msg.as_string())
'''
To: Ab =?utf-8?q?=C4=86?=<a...@def.com>,Ab =?utf-8?q?=C4=86?=<a...@def.com>,
Ab =?utf-8?q?=C4=86?=<a...@def.com>,Ab =?utf-8?q?=C4=86?=<a...@def.com>
Subject: EmailMessage Error. Missing white space after folding on ",".
 https://www.ietf.org/rfc/rfc2822.txt , 2.2.3. Long Header Fields
'''

----------
components: email
files: ERROR_folding_in_EmailMessage.py
messages: 404583
nosy: andrzejQ, barry, r.david.murray
priority: normal
severity: normal
status: open
title: EmailMessage utf-8 folding error
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file50380/ERROR_folding_in_EmailMessage.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45551>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to