Mail-MboxParser

 view release on metacpan or  search on metacpan

Changelog  view on Meta::CPAN

v0.55 ( Thu Dec  8 11:12:15 CET 2005)

    + new prefix option for store_attachment()
      (patch by Christian Winter <thepoet AT a-za-z0-9 DOT de>)
    + fixed a problem with skipping tests
      (spotted by Sunit M. Das <sdas AT eeinternet DOT com>

v0.54 (Tue Jul 12 09:40:20 CEST 2005)

    + wrong assumptions about quoted-printable encoded
      header-fields were made which lead to attachment 
      filenames often not decoded properly
      (Alper Sari <alper AT sabanciuniv DOT edu>)

v0.53 (Thu Mar 31 09:27:59 CEST 2005)

    + Adds tests for pod-correctness and -coverage

v0.52 (Thu Feb 10 08:21:54 CET 2005)

    + now decodes both base64 and quoted-printable data in the body

v0.51 (Tue Jan  4 17:36:26 CET 2005)

    + Mail::MboxParser::new() didn't check the return value
      of Mail::Mbox::MessageParser's constructor which could lead
      to fatal errors at runtime. When a M::M::MessageParser object
      could not be created, it now silently falls back to the old
      parser.
      (Nigel Horne <njh AT bandsman DOT co DOT uk and
       David Coppit <david AT coppit DOT org>)

v0.50 (Sun Dec 12 09:38:47 CET 2004)

    + At some point in the past this module must have
      stopped working on 5.5.x perls, fixed now

v0.49 (Wed Aug 11 09:43:22 CEST 2004)

    + Dealing with uuencoded MIME parts added + 
      a slight internal clean-up
      (patch by Ed Huott <ed AT supergeek DOT com>)

Changelog  view on Meta::CPAN

    + store_attachment/store_all_attachment have new
      parameter 'encoding' to allow filename encoding
      on platforms that require this step (Mac OS X apparently)

v0.46 (Fri Apr  2 09:51:34 CEST 2004)

    + When using the Mail::Mbox::MessageParser,
      the script would die on a file with zero length
      (patch by Lance Cleveland <lance AT proactivewm DOT com>)

v0.45 (Thu Feb  5 10:18:30 CET 2004)

    + Mail::MboxParser::Mail::get_field() wasn't properly
      dealing with multiple occurances of a field when it
      was interleaved with another field
      (patch by Martin Zuziak <zuziak AT fys DOT ku DOT dk>
    + Mail::MboxParser::get_message() and ::next_message() 
      ignored mails with no body

v0.44 (Sat Jan  3 09:40:02 CET 2004)

    + Mail::MboxParser had problems with older versions
      of FileHandle::Unget. Makefile.PL now checks
      that a useable version is installed

v0.43 (Sat Oct 18 16:23:29 CEST 2003)

    + Return values of File::Temp::tempfile() were 
      mistakenly swapped 
      (patch by Lyon Lemmens <lyon DOT lemmens AT oracle DOT com>)

Changelog  view on Meta::CPAN


v0.39 (Tue Aug  5 08:06:50 CEST 2003)

    + now uses David Coppit's new Mail::Mbox::MessageParser module 
      which provides much faster and more robust parsing 
      (the old parser can still be used (see docs))
      !! therefore 0.39 should probably be marked as beta !!
    + removed the silly benchmark results from the PODs
      (they are no longer up-to-date)

v0.38 (Wed Jan 15 14:34:49 CET 2003)

    + fixed wrong splittal: in to(), cc(), from()
      '"name, first" <email@host.com>' would be split even though
      the comma is within double quotes
      (patched by Robert McArthur <mcarthur AT dstc DOT edu DOT au>)
    + in same methods:
      'name' is set to "First Name" if it was previously empty and
      the email address looks like "first.name@email.com"
      (suggested and patched by Robert McArthur)
    + fixed a mysterious "Uninitialized value in list assignment" 
      warning in Body.pm
    + localized a filehandle inside Mail.pm
    + fixed typo in Makefile.PL

v0.37 (Tue Nov 26 10:10:18 CET 2002)

    + fixed some inconsistencies when constructing a 
      Mail::MboxParser::Mail object manually
      (thanks to Premjit Nair <premjit AT dpa DOT co DOT ae> for tracking 
       that down)
    + some of the PODs in Mail::MboxParser::Mail were really horrible,
      a lot of minor errors along with bad formatting fixed

v0.36 (Sun Nov 24 13:24:59 CET 2002)

    + Mail::MboxParser::Mail::Body did not overload stringification
      (patched by Steven W McDougall <swmcd AT TheWorld DOT com>)

v0.35 (Thu Aug 22 08:54:01 CEST 2002)

    + 0.34 forgot to bump the version number

v0.34 (Sun Aug 11 16:25:53 CEST 2002)

Changelog  view on Meta::CPAN

      was returned, now you get an array_ref
    + localizing of file-handles
    + fixed $msg->as_string (broken in 0.32)
    + store_attachment() and store_all_attachments()
      fixed to work without the 'store_only' argument
    + list/scalar context issue fixed in get_entities(),
      that could break $msg->body under circumstances
    + fixed a wrong prototype in Body.pm to make 
      Perl 5.8.0 happy

v0.32 (Fri Mar  1 10:34:46 CET 2002)

    + fixed Mail::MboxParser::Mail::get_field() which was broken
      in between, behaviour of it also changed a little to make it
      more useful (see docs)
    + added fix for header-fields that only contained the name, eg.
      'Subject:'
    + minimal corrections in some docs
    + added two tests for get_field()

v0.31 (Thu Feb 21 09:54:11 CET 2002)

    + new option 'newline' for MboxParser-constructor,
      defaults to 'AUTO' which can distinguish between
      UNIXish and Win32-alike endings
    + fixed a problem with saving non-text attachments under Win
      (Aaron Johnson, Marco Trudel)
    + added store_only switch to store_(all_)attachment(s) to only
      save files matching a custom regex-pattern (Aaron Johnson)

v0.30 (Thu Jan 31 10:28:42 CET 2002)

    + new methods for accessing the "From "-line and "Received: "-lines
    + I did not receive any complains about the new features introduced
      in the previous beta-release and so I assume they work pretty well

v0.30_4 (Thu Dec 13 14:27:35 CET 2001)

    -----------------------
    THIS IS A BETA RELEASE!
    -----------------------

    + There had been problems with mboxes under Win having
      UNIXish line-ending, should be fixed now (should!)
    + a speed-gain of 6% on overage when parsing a mailbox and 
      accessing header-elements

v0.30_3 (Sun Dec  9 10:41:26 CET 2001)

    -----------------------
    THIS IS A BETA RELEASE!
    -----------------------
    
    + bugifx in MboxParser.pm:
      under Win each second mail was skipped (Marco Trudel)
    + removed silly debug-print in Mail.pm
    + minor fixes of the PODs in Mail.pm
      (duplicate =back directive)
    
v0.30_1 (Mon Dec  3 12:04:00 CET 2001)

      -----------------------
      THIS IS A BETA RELEASE! 
      -----------------------
      I added a lot of new stuff and I can't thoroughly 
      test them all. I really need feedback from the users
      now whether there are stealth-bugs in it....hmmh, bugs
      are always sort of stealth, aren't they?
    
      Beware that store_attachement() and store_all_attachements()

Changelog  view on Meta::CPAN

          (filehandle had to be rewinded)
        - 'attachement'-typos throughout the whole module,
          both in method-names as well as docs
          (long outstanding bug reported by Kenn Frankel 
          <kfrankel AT maxstr DOT com>),
          'get_entitities'-typo in Mail.pm docs fixed
        - Removed $^W++ even though it nicely revealed warnings
          raised in other modules (hehe...)
        

v0.24 (Wed Nov 28 14:48:05 CET 2001)
    + mailboxes with DOSish line-endings (\015\012)
      can now also be parsed (Bill Moseley)

v0.23 (Mon Nov 26 12:07:41 CET 2001)
    + bugfix in MboxParser.pm, last line of message sometimes 
      ommited (Christian Wendt)
    + decoding of qp-encoded filenames for
      store_(all_)attachement(s)

v0.22 (Tue Sep 20 13:23:38 CEST 2001)
    + new get_field method that returns a raw headerfield,
      so that even the "Received"-line is no longer lost
      (Kenn Frankel)

t/9_direct_invok.t  view on Meta::CPAN

ok($m1->header->{subject} eq $m2->header->{subject});
ok($m1 eq $m2);

__DATA__
Received: from ethan ([127.0.0.1] helo=localhost)
	by ethan with esmtp (Exim 3.35 #1 (Debian))
	id 18Fw3L-0001G1-00
	for <ethan@localhost>; Sun, 24 Nov 2002 13:39:59 +0100
Received: from ms-dienst.rz.rwth-aachen.de [134.130.3.132]
	by localhost with POP3 (fetchmail-5.9.11)
	for ethan@localhost (single-drop); Sun, 24 Nov 2002 13:39:59 +0100 (CET)
Received: from ue250-1.rz.RWTH-Aachen.DE
 (ue250-1.rz.RWTH-Aachen.DE [134.130.3.33]) by ms-dienst.rz.rwth-aachen.de
 (iPlanet Messaging Server 5.2 (built Feb 21 2002))
 with ESMTP id <0H62009MSYYOED@ms-dienst.rz.rwth-aachen.de> for
 tp517810@ims-ms-daemon (ORCPT tassilo.parseval@post.rwth-aachen.de); Sun,
 24 Nov 2002 13:35:12 +0100 (MET)
Received: from ms-1 (ms-1.rz.RWTH-Aachen.DE [134.130.3.130])
	by ue250-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3-3) with ESMTP id gAOCZCsc016474
	for <tassilo.parseval@post.rwth-aachen.de>; Sun,
 24 Nov 2002 13:35:12 +0100 (MET)

t/old_9_direct_invok.t  view on Meta::CPAN

ok($m1->header->{subject} eq $m2->header->{subject});
ok($m1 eq $m2);

__DATA__
Received: from ethan ([127.0.0.1] helo=localhost)
	by ethan with esmtp (Exim 3.35 #1 (Debian))
	id 18Fw3L-0001G1-00
	for <ethan@localhost>; Sun, 24 Nov 2002 13:39:59 +0100
Received: from ms-dienst.rz.rwth-aachen.de [134.130.3.132]
	by localhost with POP3 (fetchmail-5.9.11)
	for ethan@localhost (single-drop); Sun, 24 Nov 2002 13:39:59 +0100 (CET)
Received: from ue250-1.rz.RWTH-Aachen.DE
 (ue250-1.rz.RWTH-Aachen.DE [134.130.3.33]) by ms-dienst.rz.rwth-aachen.de
 (iPlanet Messaging Server 5.2 (built Feb 21 2002))
 with ESMTP id <0H62009MSYYOED@ms-dienst.rz.rwth-aachen.de> for
 tp517810@ims-ms-daemon (ORCPT tassilo.parseval@post.rwth-aachen.de); Sun,
 24 Nov 2002 13:35:12 +0100 (MET)
Received: from ms-1 (ms-1.rz.RWTH-Aachen.DE [134.130.3.130])
	by ue250-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3-3) with ESMTP id gAOCZCsc016474
	for <tassilo.parseval@post.rwth-aachen.de>; Sun,
 24 Nov 2002 13:35:12 +0100 (MET)



( run in 1.118 second using v1.01-cache-2.11-cpan-49f99fa48dc )