PHP Classes

Email_Parser: Parse e-mail messages using regular expressions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 3,354 All time: 1,026 This week: 52Up
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

  Files folder image Files (15)  
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 (15)  /  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 (15)  /  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 (15)  /  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 (15)  /  Documentation  /  __filesource  
File Role Description
  Accessible without login HTML file fsource_Parser__parser.class.php.html Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,354
This week:0
All time:1,026
This week:52Up
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:3293
 
This class will not parse a non-MIME email.
16 years ago (Lee McLoughlin)
65%StarStarStarStar