I am writing an emailprogram using the Net::IMAP:Client module, but i cannot access the attachments when they are encoded. I've taken a few lines of code to try and make my point.
$laat = @$summaries[$#$summaries];
$part = $laat->get_subpart(2.0);
$body = $imap->get_part_body($laatste,2.0);
$cte = $part->transfer_encoding; # after this print $cte would say 8b
+it, so seems ok.
$bod = Email::MIME::Encodings::decode($cte, $body);
After this everything is okay as long as it wasn't encoded. Then the encoded information still seems to lay there, beacuse it says something like "YyheDee=". Maybe someone can tell me how to proceed? Thank you.