PHP MIME Mail decoder class 2008.04.10 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News PHP MIME Mail decoder class 2008.04.10 (Default branch)
# 1  
Old 04-10-2008
PHP MIME Mail decoder class 2008.04.10 (Default branch)

ImagePHP MIME Mail decoder class is a PHP class to parse and decode MIME email messages. It supports decoding single RFC 2822 MIME messages or archives that aggregate multiple messages in the mbox format. It can decode messages read from files or data strings. The bodies of multipart messages can be decoded into distinct sub-messages. Optionally, the message body data can be saved to separate files, so the class can handle messages larger than the available memory. The parser can tolerate some syntax errors in malformed messages that are not compliant with RFC 2822.License: BSD License (revised)Changes:
The class now correctly handles messages that mix different types of line breaks.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
MIME::Parser::Results(3)				User Contributed Perl Documentation				  MIME::Parser::Results(3)

NAME
MIME::Parser::Results - results of the last entity parsed SYNOPSIS
Before reading further, you should see MIME::Parser to make sure that you understand where this module fits into the grand scheme of things. Go on, do it now. I'll wait. Ready? Ok... ### Do parse, get results: my $entity = eval { $parser->parse(*STDIN); }; my $results = $parser->results; ### Get all messages logged: @msgs = $results->msgs; ### Get messages of specific types (also tests if there were problems): $had_errors = $results->errors; $had_warnings = $results->warnings; ### Get outermost header: $top_head = $results->top_head; DESCRIPTION
Results from the last MIME::Parser parse. PUBLIC INTERFACE
new Constructor. msgs Instance method. Return all messages that we logged, in order. Every message is a string beginning with its type followed by ": "; the current types are "debug", "warning", and "error". errors Instance method. Return all error messages that we logged, in order. A convenience front-end onto msgs(). warnings Instance method. Return all warning messages that we logged, in order. A convenience front-end onto msgs(). top_head Instance method. Return the topmost header, if we were able to read it. This may be useful if the parse fails. SEE ALSO
MIME::Tools, MIME::Parser AUTHOR
Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.18.2 2008-06-30 MIME::Parser::Results(3)