On Mar 11, 9:13 am, ramprasad...@gmail.com (Ramprasad Prasad) wrote: > I have a simple code that gets all image parts of a message > > foreach my $part($entity->parts){ > next if ($part->effective_type !~ > m{image}); > > push(@images,$part); > > ... > > } > > But I want to get only the inline images and not the attached images > How can I achieve this ? > $part->content_disposition() does not work > > -- > Thanks > Ram > <http://www.netcore.co.in/> > > n <http://pragatee.com>
hi, it's probably too late, but... you can do this: $header = $part->head(); $content_disp = $header->get('Content-Disposition'); that works for me... karina -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/