PHP Classes

Email_Parser: Parse e-mail messages using regular expressions

Recommend this page to a friend!
  Info   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 3,349 All time: 1,031 This week: 91Up
Version License PHP version Categories
email_parser 1.0.0GNU General Publi...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: 33
All time rank: 64985 in United States United States
Week rank: 312 Up38 in United States United States Up

  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,349
This week:0
All time:1,031
This week:91Up
User Ratings User Comments (1)
 All time
Utility:50%StarStarStar
Consistency:66%StarStarStarStar
Documentation:66%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:3197
 
This class will not parse a non-MIME email.
15 years ago (Lee McLoughlin)
65%StarStarStarStar