Skip to content

CaTzil/emailParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

emailParser

PHP class that parses raw email with support of attachments.

Usage

include_once 'emailParser.class.php';
$parser = new emailParser(file_get_contents('raw_email_data.txt'));

$parser->getHTMLBody();
$parser->getPlainBody();
$parser->getSubject();
$parser->getAttachments();
$parser->getAttachments('pdf');
$parser->getTo();
$parser->getHeader('From');

About

PHP class that parses raw email with attachment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages