PHP Classes

Parse Mail: Parse the headers and bodies of e-mail messages

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 6,579 All time: 315 This week: 429Down
Version License Categories
parsemail 1.0.0GNU General Publi...Email, Text processing
Description Author

This class can parse an e-mail message to extract its headers and body parts.

It extracts the values of common types of headers. The message text body and attachment parts are cut out of the mail text. Parts encoded with base64 method are automatically decoded.

There is a simple example included to get incoming mail directly from sendmail (or equivalent) and post it to a web application.

Picture of Frank Rust
Name: Frank Rust <contact>
Classes: 1 package by
Country: Germany Germany
Age: ???
All time rank: 41825 in Germany Germany
Week rank: 756 Down41 in Germany Germany Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file getEmail.php Example Part two of example
Plain text file parseMail.php Class Class File
Accessible without login Plain text file PostNewMail.php Example Part one of Example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:315
This week:429Down
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.