PHP Classes
Icontem

Class: MIME E-mail message parser


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  MIME E-mail message parser  >  Download  >  Support forum Support forum (94)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: MIME E-mail message parser Support forum
Base name: mimeparser
Description: Decode MIME e-mail messages
Related top rated classes: , , ,
Version: 1.29
Required PHP version: 3
License: BSD License
All time users: 13915 users
All time rank: 31
Week users: 108 users
Week rank: 20
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Dependents   Trackback   Applications   Files Files  

Screenshots

Dump of the of the decoded message structure
File Role Description
Accessible without login Image file mimeparser.gif Screen Dump of the of the decoded message structure

Author

Picture of Manuel Lemos
Name: Manuel Lemos <e-mail contact>
Published packages: 30 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Home page: http://www.ManuelLemos.net/
Age: 41
All time rank: 1
Week rank: 1

Groups

Group folder image Email Email sending and receiving View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class can be used to parse and decode MIME e-mail messages.

It supports decoding single RFC 2822 MIME messages or archives that aggregate multiple messages in the mbox format.

The decoded message data is returned as an array that describes one or more messages found in a message file or data string.

The bodies of multipart messages can be decoded into distinct sub-messages.

The message body data can decoded and 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.

An auxiliar class is provided to parse and extract e-mail address lists from message headers.

Freshmeat project

MIME E-mail message parser
Project record: phpmimemaildecoder
Popularity score: 297.03
Vitality score: 54.35

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (94.7%)
Good (92.8%)
Sufficient (74.3%)
Sufficient (74.3%)
Sufficient (72.9%)
-
Sufficient (78.8%)
10
Month:
There are not enough user ratings to display for this class.

Packages that need this class

Class Dependency Why it is needed
POP3 e-mail client
Conditional
Only needed to run the example that parses and decodes messages
pop3ml
Required
for parsing and decoding e-mail messages

Trackback links

Link Description
MIME parsing? This looks like a nice little library that will do your work for you, on multipart MIME parsing...

Applications that use this class

Link Description
phpEmailListener Integrates received e-mail with Alfresco CMS
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file test_message_decoder.php Example Example script to demonstrate how to decode a e-mail message
Plain text file test_parse_addresses.php Example Example to demonstrate how to parse e-mail address lists
Plain text file mime_parser.php Class MIME message parser and decoder class
HTML file mime_parser_class.html Doc. Class documentation
Plain text file rfc822_addresses.php Class Class to parse e-mail address lists from message headers
HTML file rfc822_addresses_class.html Doc. Documentation of the RFC 822 address parser class
Files folder image test
  Plain text file test.php Test Unit test script to verify different message parsing cases
Files folder image test/expect
  Plain text file mbox.txt Data Exprected output of the mbox test
  Plain text file mixedlinebreaks.txt Data Mixed line breaks test expected results
  Plain text file normal.txt Data Expected output of the decoder example script when parsing the message.eml file
  Plain text file parse_addresses.txt Data Expected output of the e-mail address parser example script
Files folder image test/generated
  Plain text file .cvsignore Data Dummy file to force the distribution of this directory
Files folder image test/sample
  Plain text file mbox.eml Data Sample mbox message file
  Plain text file message.eml Data Sample MIME message file used by the example script
  Plain text file mixedlinebreaks.eml Data Mixed line breaks test sample message
  Plain text file noendbreak.eml Data Sample MIME message file used by the example script
Download all files: mimeparser.tar.gz mimeparser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products