Flanker是一个用来解析电子邮件和MIME的Python库。 示例代码: >>>fromflanker.addresslibimportaddress >>> >>>address.parse('Foofoo@example.com') Foo >>>fromflankerimportmime >>> >>>msg=mime.from_string(message_string) >>>msg.headers.items() [('Mime-Version','1.0'), ('Content-Type