On Mar 11, 9:13 am, [email protected] (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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/