Projects / PHP MIME Mail decoder class

PHP MIME Mail decoder class

PHP MIME Mail decoder class is a PHP class to parse and decode MIME email messages. It supports decoding single RFC 2822 MIME messages or archives that aggregate multiple messages in the mbox format. It can decode messages read from files or data strings. The bodies of multipart messages can be decoded into distinct sub-messages. Optionally, the message body data can be saved to separate files, so the class can handle messages larger than the available memory. The parser can tolerate some syntax errors in malformed messages that are not compliant with RFC 2822.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  12 May 2014 11:27

    Release Notes: The release fixes handling of malformed and unsupported report messages.

    •  27 Aug 2012 10:43

      Release Notes: This release fixes the removal of spaces in headers that have text between two q-encoded blocks.

      •  11 Apr 2012 09:52

        Release Notes: This release supports custom MIME types which applications may define to use when the Analyze function does not recognize a MIME type of a part of a parsed message.

        •  12 Mar 2012 09:58

          Release Notes: This release fixes the bug related to skipping whitespace when parsing long headers split across multiple lines. It also adds support to tolerate escape characters in email address names which are not quoted.

          •  10 May 2011 09:51

            Release Notes: This release adds support for using the original attachment file names when saving message body parts to files.

            Recent comments

            14 May 2013 07:42 fahad1312

            where is the download link ?

            09 Apr 2011 20:32 phpboyza

            In the search for the 'perfect' mime decoded I bumped into this one on phpclasses. It lacks a little on the documentation side and I could get it working straight out the box. I wrote an article about a nice PHP mime parser / decoder available at http://www.phpboy.co.za/php/php-mime-email-readerdecoder I hoped this helps anybody who wants to ease the frustration of decoding and parsing mime emails.

            03 Jun 2010 19:23 mdegive

            Can I use this class to extract the attachment that is stored within the raw message?

            01 Sep 2009 03:29 bernatowicz

            Where's the download link? I've registered on here freshmeat, but still do not see a download link. It shouldn't be this hard to download!

            13 Feb 2007 08:15 mlemos

            Re: You have to register to download


            > You have to register at phpclasses.org

            > to download this file.

            > I don't think Freshmeat should have a

            > project specify an "OSI

            > Approved" license if you have to

            > register to download it.

            >

            There is some confusion regarding the scope of licenses. A license describes the terms by which the author allows the users to use and redistribute the software.

            The requirement to register is not imposed by the phpclasses.org site. It is an option that each author may enable or not. The distribution of the package using this site does not affect the license, as it is redistributing my package because I voluntarily submitted to it and respects my will to keep the registration requirement.

            As an author of this package, I want to keep the register requirement. This way the site can keep track of the users that download the package for me, and when I release a new version this package the site can send new version notices by e-mail so you can download and use the latest version with eventual bug fixes and improved versions. So, this is a good service that the site provides helping to keep my package users upto date.

            If you do not want to register, you can ask me for the package by e-mail. I just cannot promise I will be able to respond quickly, nor I will send you any notices of new versions. That is why the site is used.

            I also prefer that users with support questions, post their messages in the exclusive forum provided by the phpclasses.org for this package, unless you have a specific problem that do not want to disclose in public.

            The public forum for this package is convenient because other users with the same questions may help themselves reading my prior responses to the same subjects. Hopefully this will reduce the time that it takes me to provide support for this package.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.