now how can i ignore the image part, find the nested subparts?
The following will deal with all the parts of an entity, skipping any parts that are mime type 'image/gif':
foreach my $part ($entity->parts_DFS) { my $type = $part->mime_type; next if($type eq 'image/gif'); print "Here's a part: $type\n"; # do what you want with the part here }
In reply to Re: parsing mime emails (revised!)
by ig
in thread parsing mime emails (revised!)
by downer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |