I’m using python’s email.message_from_string to parse a raw email message. However, the message has multiple “Recieved” headers in it. When I call message.keys() their are clearly several Recieved headers. But when I try message.get(“Recieved”) I just get "" a null string. How do you get the values of those instances of that header?
I’m using python’s email.message_from_string to parse a raw email message. However, the message has
Share
Source: http://docs.python.org/library/email.message.html#email.message.Message.get_all