if you switch the two mimes around it doesn't work
Note my last comment for the example. There's a bug, as $_->content_type returns not just text/plain, but text/plain; charset=.... So you should replace
with$ct{$_->content_type} = $_ for @parts;
for (@parts) { (my $c = $_->content_type) =~ s/;.+//; $ct{$c} = $_; }
but this solution thought would work for most messages isn't perfect either, as it is possible to have several text/plain parts with different charsets.
In reply to Re^5: MIME voodoo.
by zwon
in thread MIME voodoo.
by vxp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |