Net::POP3::PerMsgHandler::Message - object for per_message callback


Net-POP3-PerMsgHandler documentation Contained in the Net-POP3-PerMsgHandler distribution.

Index


Code Index:

NAME

Top

Net::POP3::PerMsgHandler::Message - object for per_message callback

VERSION

Top

Version 0.01

FUNCTIONS

Top

size

return message length.

rfc2822

return message as RFC2822 format strings. (Envelope-from, headers and body)

array_ref

returns a reference to an array which contains the lines of message read from the server.

email_mime

returns Email::MIME instance.

email_mime_stripped

returns Email::MIME instance stripped by Email::MIME::Attachment::Stripper.

mail_message

returns Mail::Message instance.

mail_message_stripped

returns Mail::Message instance stripped by Mail::Message::Attachment::Stripper.

SEE ALSO

Top

Net::POP3::PerMsgHandler, Net::POP3, Email::MIME, Email::MIME::Attachment::Stripper, Mail::Message, Mail::Message::Attachment::Stripper

AUTHOR

Top

bokutin, <bokutin at cpan.org>

COPYRIGHT & LICENSE

Top


Net-POP3-PerMsgHandler documentation Contained in the Net-POP3-PerMsgHandler distribution.
package Net::POP3::PerMsgHandler::Message;

our $VERSION = '0.01';

use strict;
use warnings;

use base qw(Class::Accessor::Fast);

__PACKAGE__->mk_accessors(
    qw/
        size
        rfc2822
        array_ref
        email_mime
        email_mime_stripped
        mail_message
        mail_message_stripped
    /
);

1;