Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function caughtEmail($full_email)
- {
- global $database;
- global $member;
- global $EmailClass;
- # Include email parser
- require_once('rfc822_addresses.class.php');
- require_once('mime_parser.class.php');
- # Create the email parser class
- $mime = new mime_parser_class;
- $mime->ignore_syntax_errors = 1;
- $parameters=array(
- 'Data'=>$full_email,
- );
- $mime->Decode($parameters, $decoded);
- $mime->Analyze($decoded[$message], $results);
- var_dump($decoded[$message]);
- var_dump($results);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement