Message358544
big-bob:t spaans$ cat fak.py
import sys
from email.message import EmailMessage
from email.policy import SMTP
from email.headerregistry import Address
msg = EmailMessage(policy=SMTP)
a = Address(display_name='Extra Extra Read All About It This Line Does Not Fit In 80 Characters So Should Be Wrapped <dev@local>\r\nX:', addr_spec='evil@local')
msg['To'] = a
print(sys.version)
print(msg.as_string())
big-bob:t spaans$ python3.5 fak.py
3.5.2 (default, Jul 16 2019, 13:40:43)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)]
To: "Extra Extra Read All About It This Line Does Not Fit In 80 Characters So Should Be Wrapped <dev@local>
X:" <evil@local>
big-bob:t spaans$ python3.8 fak.py
3.8.0 (default, Dec 17 2019, 13:32:18)
[Clang 11.0.0 (clang-1100.0.33.16)]
To: Extra Extra Read All About It This Line Does Not Fit In 80 Characters So
Should Be Wrapped <dev@local>
X: <evil@local> |
|
Date |
User |
Action |
Args |
2019-12-17 12:46:43 | jap | set | recipients:
+ jap, barry, r.david.murray |
2019-12-17 12:46:43 | jap | set | messageid: <1576586803.42.0.942657577592.issue39073@roundup.psfhosted.org> |
2019-12-17 12:46:43 | jap | link | issue39073 messages |
2019-12-17 12:46:42 | jap | create | |
|