Getting "Recieved:" headers from rfc822 Message objects?

Barry A. Warsaw barry at digicool.com
Tue Jun 12 20:28:28 EDT 2001


>>>>> "GL" == Gustaf Liljegren <gustafl at algonet.se> writes:

    GL> Python 2.1, regarding the rfc822 module:

    GL> I have found some mails in my inbox that have no "Date"
    GL> header. So instead, I though about using the date in the last
    GL> recieved header of a Message object. How do you recieve the
    GL> "Recieved: " headers? I have tried
    GL> m.getallmatchingheaders('recieved'), but it returns an empty
    GL> list.

Oops, check your spelling there.  It should be "received".

Cheers,
-Barry




More information about the Python-list mailing list