logo       

Mail::Box v2.042 [Outlook Express]: msg#00050

Subject: Mail::Box v2.042 [Outlook Express]
Hi,

1) Tassilo and I were able connect the loose ends between Mail::Transport::Dbx
   and Mail::Box... now we are able to have read access to

     Outlook Express DBX

   folders, just like the mbox, mh, maildir, and pop.  Yes: you can even
   access these dbx files on your Unix system!  No, you can not write or
   delete messages in dbx folders.

   The following works nicely:

      use Mail::Box::Manager;
      my $mgr = Mail::Box::Manager->new;

      my $dbx = $mgr->open('Folders.dbx') or die;
      my $mh  = $mgr->open('/tmp/mh', type => 'mh', create => 1,
          access => 'rw') or die;

      $dbx->copyTo($mh);

   It will make a recursive conversion from dbx into mh folders.  Not fast,
   but it works!

2) Todd Richmond spent quite some time tracking down memory leaks.  One
   which caused multipart messages to stay alive after a folder was
   closed has been eliminated.

3) On message headers you can call removeFields, removeFieldsExcept, and
   removeResentGroups to free-up memory.  You have to be sure that
   these mutulations of the message do not cause other problems.
   Headers consume huge amounts of memory, and this will help a little.

   You may try:

       my $folder = $mgr->open('Folder');   # read only!!!!
       foreach my $message ($folder->messages)
       {    # do something with the message

            # clean the memory for the message
            $message->body(undef);
            $message->head->removeFieldsExcept('subject');
       }

   Please inform me about problems.

Full Changelog

        Fixes:

        - Added message-id to the wrong side of the Reference field
          in reply() and forward().  Fix by [Mike Mimic]

        - [Tassilo v Parsival] reported an error when HTML::FormatText
          was not installed.

        - [Alex Liberman] found that searching nested messages failed,
          because they were treated as multiparts.

        - [Todd Richmond] demonstrated that multiparts contained circular
          references, which increased memory consumption.  Not hard too
          fix.

        Improvements:

        - Implemented Mail::Box::Dbx to read Outlook Express files.  Tests
          in tests/45dbx/*

        - Implemented Mail::Message::Head::Partial, which will contain
          a subset of headers without knowing where to find the rest
          of it.  ::Subset knows where to get the rest.  Tests in
          tests/12head/30partial.t

        - $head->removeFields(), $head->removeFieldsExcept() and
          $head->removeResentGroups to free up memory. This "upgrades" a
          complete header into a partial header.

-- 
               MarkOv       %-]

------------------------------------------------------------------------
drs Mark A.C.J. Overmeer                                MARKOV Solutions
       Mark@xxxxxxxxxxxx                          solutions@xxxxxxxxxxxx
http://Mark.Overmeer.net                   http://solutions.overmeer.net




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe