in reply to MIME Parsing Entity not exposing charset?

Hi,

(first best guess answer thrown away)

I looked at the problem a little bit deeper as I was interested in that domain knowing that I will stumble about that earlier or later.

Add the following snippet to your code:

my @parts = $entity->parts(); foreach my $part (@parts) { my $head = $part->head(); print "Effective: " . $part->effective_type() . "\n"; print "Content-Type from Header: " . $head->get('Content-Type') . +"\n"; }
and you will see that the original information is there. Why it isn't dumped with the method dump_skeleton is something different.

Best regards
McA

Replies are listed 'Best First'.
Re^2: MIME Parsing Entity not exposing charset?
by wilsotc (Initiate) on Mar 04, 2013 at 19:09 UTC
    Thank you!!

    I had figured it out and was about to post the same thing. I believe I had found some old documentation floating around that was outdated and had to dig in to the source code.