flanker
flanker copied to clipboard
Failure to parse address field encoded in iso-8859-1 (?) encoding
Original message has next From field:
From: =?iso-8859-1?Q?W=F6rz=2C_Michael?= <[email protected]>
after parsing whole message with flanker.mime.from_string():
ipdb> sndr = headers['From']
ipdb> sndr
u'W\xf6rz, Michael <[email protected]>'
and
ipdb> address.parse(sndr) is None
True
Looks like something wend wrong on step of decoding value in From header?