Skip Menu |

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 65112
Status: resolved
Priority: 0/
Queue: MIME-tools

Owner: Nobody in particular
Requestors: DOUGW [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: is_multipart not accurate on type message/rfc822
Download (untitled) / with headers
text/plain 477b
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?
Download (untitled) / with headers
text/plain 160b
On Tue Jan 25 12:41:41 2011, DOUGW wrote: Show quoted text
> > Should is_multipart report true on this type of part?
Never mind. Just now reread the docs on parts() method.
Resolving this ticket in response to most recent message. Regards, David.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to