Hi Im trying to write a program that will strip email attachments off of incoming emails and then place them in a folder, i have this bit done using net::pop3 but i need to move the stripped emails into a folder for safekeeping, i figured the way to do this was by using Mail::Box::pop3. Howeveri cant acctually install the module as it borks in the install:
40mbox -- 8 scripts; Mail::Box::Mbox; mbox folders 40mbox/10read.......ok 40mbox/20write......ok 40mbox/30delay......ok 40mbox/40append.....ok 13/32ERROR: Package Mail::Box::IMAP4 does not i +mplement Mail::Box::foundIn. Please warn the author, this shouldn't happen. at ../lib/Mail/Reporter +.pm line 196 Mail::Reporter::notImplemented('Mail::Box::IMAP4') called at . +./lib/Mail/Box.pm line 155 Mail::Box::foundIn('Mail::Box::IMAP4','=empty','create',1,'acc +ess','rw','lock_type','NONE','authentication',...) called at ../lib/M +ail/Box/Manager.pm line 208 Mail::Box::Manager::open('Mail::Box::Manager=HASH(0x813361c)', +'folder','=empty','folderdir','folders','lock_type','NONE','extract', +'LAZY',...) called at 40mbox/40append.t line 107 # Looks like you planned 32 tests but only ran 13. # Looks like your test died just after 13. 40mbox/40append.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 14-32 Failed 19/32 tests, 40.62% okay 40mbox/50create.....ok 40mbox/60thread.....ok 40mbox/70inplace....ok 40mbox/80update.....ok 41mh -- 6 scripts; Mail::Box::MH; mh folders 41mh/10read......ok 41mh/20write.....ok 41mh/30append....ok 41mh/50create....ok 41mh/60thread....ok 41mh/70seqs......ok 42maildir -- 3 scripts; Mail::Box::Maildir; maildir folders 42maildir -- 3 scripts; Mail::Box::Maildir; maildir folders 42maildir/10read......ok 42maildir/20write.....ok 42maildir/30append....ok 43pop3 -- 4 scripts; Mail::Box::POP3; pop3 folders 43pop3/01basic.........NOK 1 # Failed test (43pop3/01basic.t at line 11) # Tried to use 'Mail::Transport::POP3'. # Error: Insecure dependency in require while running with -T swi +tch at /usr/lib/perl5/5.8.0/i486-linux/IO/Socket.pm line 22. # Compilation failed in require at ../lib/Mail/Transport/POP3.pm line +10. # BEGIN failed--compilation aborted at 43pop3/01basic.t line 11. # Compilation failed in require at (eval 6) line 2. # BEGIN failed--compilation aborted at (eval 6) line 2. 43pop3/01basic.........NOK 2 # Failed test (43pop3/01basic.t at line 15) # Mail::Transport::POP3->can('deleted') failed # Mail::Transport::POP3->can('deleteFetched') failed # Mail::Transport::POP3->can('disconnect') failed # Mail::Transport::POP3->can('fetched') failed # Mail::Transport::POP3->can('folderSize') failed # Mail::Transport::POP3->can('header') failed # Mail::Transport::POP3->can('ids') failed # Mail::Transport::POP3->can('id2n') failed # Mail::Transport::POP3->can('message') failed # Mail::Transport::POP3->can('messages') failed # Mail::Transport::POP3->can('messageSize') failed # Mail::Transport::POP3->can('send') failed # Mail::Transport::POP3->can('sendList') failed # Mail::Transport::POP3->can('socket') failed # Mail::Transport::POP3->can('url') failed Method socket() is not defined for a Mail::Transport::POP3. 43pop3/01basic.........ok 3/14 Mail::Reporter::AUTOLOAD('Mail::Transp +ort::...') called at 43pop3/01basic.t line 44
anyhelp would be much appreciated. thanks --empika (a complete perl n00b)

In reply to Mail::Box::POP3 fails install by empika

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.