Subject: | is_multipart not accurate on type message/rfc822 |
I was using this to see if there were parts to the message:
if ( $ent->is_multipart() ) {
for my $part ($ent->parts()) {
...process parts
}
}
But a part of type message/rfc822 reports it is not multipart, so it's
contents do not get processed. I noticed in Dumper output that it had
parts, so I did:
my @parts = $ent->parts()
if (@parts) {
for my $part (@parts) {
..process parts
}
}
and that worked.
Should is_multipart report true on this type of part?