PHP Classes

File: getEmail.php

Recommend this page to a friend!
  Classes of Frank Rust  >  Parse Mail  >  getEmail.php  >  Download  
File: getEmail.php
Role: Example script
Content type: text/plain
Description: Part two of example
Class: Parse Mail
Parse the headers and bodies of e-mail messages
Author: By
Last change:
Date: 11 years ago
Size: 538 bytes


Class file image Download
// get an email from a post request and parse it using parseMail class
    // Version 0.1, 2005/03/16
    // Copyright (c) Frank Rust, TU Braunschweig (

// could be a bit more safety here:
    // get the contents of the uploaded email file

// parse that file
$email=new parseMail($mailtext);

// show the results (or do anything useful...)