◐ Shell
clean mode source ↗

Message 270401 - Python tracker

message.get cannot decode the header correctly, and returns a Header instance instead, which makes email.utils.getaddresses stumble upon...

A much better behavior for getaddresses in this case would be returning the perfectly valid address, and ignoring the invalid dtext part.