Hi all, I am using Perl's Pop3 module to download email along with Mime::Parser to detach any files into readable formats. I have never seen this before but I am now getting an error message: no decoder for uuencode at /usr/lib/perl5/site_perl/5.8.8/MIME/Parser.pm line 789 no decoder for uuencode at /usr/lib/perl5/site_perl/5.8.8/MIME/Parser.pm line 789 Debug shows this for the first time: with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate I am using pop3 with ssl. Here is my code.

#---set mail credentials---# my $_MAILHOST="xxxxx"; my $_USER="xxxx"; #username my $_PASS="xxxx"; #password #---Define output directory---# my $_OUTDIR="/x/xxx/mail/xxx"; #Output attachments here #---Begin retrieve mail and strip attachment---# my $i = 0; my $parser = new MIME::Parser; my $pop = new Mail::POP3Client( HOST =>$_MAILHOST, USER =>$_USER, PASSWORD =>$_PASS, DEBUG =>2, SOCKET => undef, USESSL => 1 ); $parser->output_dir( $_OUTDIR ); if( $pop->Count() < 0 ) { die "Error accessing POP mailbox"; } for( $i = 0; $i <= $pop->Count(); $i++ ) { my $wholeBody = $pop->HeadAndBody( $i ); ### Automatically attempt to RFC 2047-decode the MIME headers? $parser->decode_headers(0); ### default is false ### Look for uuencode in "text" messages, and extract it? $parser->extract_uuencode(0); ### default is false my $entity = $parser->parse_data( $wholeBody ); #$pop->Delete( $i ); }

If I pull the mail via Outlook I do not have any issues. Any advise will be appreciated.


In reply to Mime::Parser question. by mmittiga17

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.