MIME::Parser

Discussion in 'Perl Misc' started by afrinspray, Feb 27, 2006.

  1. afrinspray

    afrinspray Guest

    Does anyone have any experience with MIME::parser? It's leaving a ton
    of folders in my /tmp dir.

    I have the following options set:
    $parser = new MIME::parser;
    $parser->output_under("/tmp"); # Temporary messages are created here
    $parser->output_prefix("msg"); # The temp messages have this prefix
    $parser->decode_headers(0); # Not recommended by manual
    $parser->extract_nested_messages(0);
    $parser->extract_uuencode(1); # Automatically breaks up uuencoded
    messages
    $parser->ignore_errors(1);

    then later I:
    $parser->filer->purge;

    which I thought cleans it up. Ideas? Also do those settings look
    alright?

    Mike
     
    afrinspray, Feb 27, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CJ
    Replies:
    1
    Views:
    1,585
    Andrew Thompson
    Oct 29, 2004
  2. Jan Arickx
    Replies:
    0
    Views:
    208
    Jan Arickx
    Aug 25, 2003
  3. Chris Larsen

    Mime::Parser::Filer problemo

    Chris Larsen, Sep 10, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    112
    Chris Larsen
    Sep 10, 2003
  4. joe
    Replies:
    0
    Views:
    209
  5. ecureuil
    Replies:
    0
    Views:
    341
    ecureuil
    May 28, 2006
Loading...

Share This Page