I am trying to write a script that parses email headers. One of the more important header types I need to process are 'Received' headers. However, when I use Mail::Message->get('received') the result is absolutely nothing. It is as if there are no 'Received' headers which is not the case. I tried looking at the code but I am not nearly experienced enough with perl to figure out what is going on. I can't even see where in the 'get' function, it does anything with headers.
I tried posting on the CPAN forum for this module but apparently no one reads it as I have the first and only post and have not gotten any response in 2 weeks. Is someone willing to look at the code to help me figure out why it is not working for 'Received' headers? TIA.