Login   Register  
PHP Classes
elePHPant
Icontem

Email_Parser: Parse e-mail messages using regular expressions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-01-07 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 3,287 All time: 990 This week: 1,470Down
Version License PHP version Categories  
email_parser 1.0.0GNU General Public Lice...5Email, PHP 5, Text processing
Description Author  

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

It uses regular expressions to locate and extract information about the message headers, text and HTML parts and file attachments.

The parsed message information is stored in class variables.

Picture of Joshua Gilman
Name: Joshua Gilman <contact>
Classes: 2 packages by
Country: United States United States
Age: 23
All time rank: 60675 in United States United States
Week rank: 850 Down94 in United States United States Down

  Files folder image Files  
File Role Description
Files folder imageDocumentation (7 files, 3 directories)
Plain text file parser.class.php Class The core parser class
Accessible without login Plain text file test.php Example A simple script to test the class
Accessible without login Plain text file gmail.txt Data Required for test.php

  Files folder image Files  /  Documentation  
File Role Description
Files folder imagemedia (2 files)
Files folder imageParser (2 files)
Files folder image__filesource (1 file)
  Accessible without login HTML file blank.html Doc. Documentation
  Accessible without login HTML file classtrees_Parser.html Doc. Documentation
  Accessible without login HTML file elementindex.html Doc. Documentation
  Accessible without login HTML file elementindex_Parser.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file li_Parser.html Doc. Documentation
  Accessible without login HTML file packages.html Doc. Documentation

  Files folder image Files  /  Documentation  /  media  
File Role Description
  Accessible without login Plain text file banner.css Data Documentation
  Accessible without login Plain text file stylesheet.css Data Documentation

  Files folder image Files  /  Documentation  /  Parser  
File Role Description
  Accessible without login HTML file Parser.html Doc. Documentation
  Accessible without login HTML file _parser_class_php.html Doc. Documentation

  Files folder image Files  /  Documentation  /  __filesource  
File Role Description
  Accessible without login HTML file fsource_Parser__parser.class.php.html Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,287All time:990
 This week:0This week:1,470Down
 User Comments (1)  
 
This class will not parse a non-MIME email.
6 years ago (Lee McLoughlin)
65%StarStarStarStar