Add p5-Mail-Message 3.007 (copied from p5-Mail-Box)

A Mail::Message object is a container for MIME-encoded message information, as
defined by RFC2822. Everything what is not specificaly related to storing the
messages in mailboxes (folders) is implemented in this class. Methods which are
related to folders is implemented in the Mail::Box::Message extension.

The main methods are get(), to get information from a message header field, and
decoded() to get the intended content of a message. But there are many more
which can assist your program.

Complex message handling, like construction of replies and forwards, are
implemented in separate packages which are autoloaded into this class. This
means you can simply use these methods as if they are part of this class. Those
package add functionality to all kinds of message objects.

WWW: https://metacpan.org/release/Mail-Message
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-10-18 19:49:41 +00:00
parent f3135dfb72
commit b0e91fab5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482359
5 changed files with 226 additions and 0 deletions

View File

@ -402,6 +402,7 @@
SUBDIR += p5-Mail-MailStats
SUBDIR += p5-Mail-Mbox-MessageParser
SUBDIR += p5-Mail-MboxParser
SUBDIR += p5-Mail-Message
SUBDIR += p5-Mail-OpenDKIM
SUBDIR += p5-Mail-OpenRelay-Simple
SUBDIR += p5-Mail-POP3Client

View File

@ -0,0 +1,29 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Mail-Message
PORTVERSION= 3.007
CATEGORIES= mail perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= General message object
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-IO-stringy>=0:devel/p5-IO-stringy \
p5-MIME-Types>=1.004:mail/p5-MIME-Types \
p5-Mail-Tools>=2.17:mail/p5-Mail-Tools \
p5-TimeDate>=0:devel/p5-TimeDate \
p5-URI>=1.23:net/p5-URI \
p5-User-Identity>=0.94:devel/p5-User-Identity
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1537133905
SHA256 (Mail-Message-3.007.tar.gz) = 7601dc5d1bedc0b6338b8b8c0ce5360aa75e112cbc48bc22eb0d085e2232eec2
SIZE (Mail-Message-3.007.tar.gz) = 257554

View File

@ -0,0 +1,15 @@
A Mail::Message object is a container for MIME-encoded message information, as
defined by RFC2822. Everything what is not specificaly related to storing the
messages in mailboxes (folders) is implemented in this class. Methods which are
related to folders is implemented in the Mail::Box::Message extension.
The main methods are get(), to get information from a message header field, and
decoded() to get the intended content of a message. But there are many more
which can assist your program.
Complex message handling, like construction of replies and forwards, are
implemented in separate packages which are autoloaded into this class. This
means you can simply use these methods as if they are part of this class. Those
package add functionality to all kinds of message objects.
WWW: https://metacpan.org/release/Mail-Message

View File

@ -0,0 +1,178 @@
%%SITE_PERL%%/Mail/Box/FastScalar.pm
%%SITE_PERL%%/Mail/Box/FastScalar.pod
%%SITE_PERL%%/Mail/Box/Parser.pm
%%SITE_PERL%%/Mail/Box/Parser.pod
%%SITE_PERL%%/Mail/Box/Parser/Perl.pm
%%SITE_PERL%%/Mail/Box/Parser/Perl.pod
%%SITE_PERL%%/Mail/Message.pm
%%SITE_PERL%%/Mail/Message.pod
%%SITE_PERL%%/Mail/Message/Body.pm
%%SITE_PERL%%/Mail/Message/Body.pod
%%SITE_PERL%%/Mail/Message/Body/Construct.pm
%%SITE_PERL%%/Mail/Message/Body/Construct.pod
%%SITE_PERL%%/Mail/Message/Body/Encode.pm
%%SITE_PERL%%/Mail/Message/Body/Encode.pod
%%SITE_PERL%%/Mail/Message/Body/File.pm
%%SITE_PERL%%/Mail/Message/Body/File.pod
%%SITE_PERL%%/Mail/Message/Body/Lines.pm
%%SITE_PERL%%/Mail/Message/Body/Lines.pod
%%SITE_PERL%%/Mail/Message/Body/Multipart.pm
%%SITE_PERL%%/Mail/Message/Body/Multipart.pod
%%SITE_PERL%%/Mail/Message/Body/Nested.pm
%%SITE_PERL%%/Mail/Message/Body/Nested.pod
%%SITE_PERL%%/Mail/Message/Body/String.pm
%%SITE_PERL%%/Mail/Message/Body/String.pod
%%SITE_PERL%%/Mail/Message/Construct.pm
%%SITE_PERL%%/Mail/Message/Construct.pod
%%SITE_PERL%%/Mail/Message/Construct/Bounce.pm
%%SITE_PERL%%/Mail/Message/Construct/Bounce.pod
%%SITE_PERL%%/Mail/Message/Construct/Build.pm
%%SITE_PERL%%/Mail/Message/Construct/Build.pod
%%SITE_PERL%%/Mail/Message/Construct/Forward.pm
%%SITE_PERL%%/Mail/Message/Construct/Forward.pod
%%SITE_PERL%%/Mail/Message/Construct/Read.pm
%%SITE_PERL%%/Mail/Message/Construct/Read.pod
%%SITE_PERL%%/Mail/Message/Construct/Rebuild.pm
%%SITE_PERL%%/Mail/Message/Construct/Rebuild.pod
%%SITE_PERL%%/Mail/Message/Construct/Reply.pm
%%SITE_PERL%%/Mail/Message/Construct/Reply.pod
%%SITE_PERL%%/Mail/Message/Construct/Text.pm
%%SITE_PERL%%/Mail/Message/Construct/Text.pod
%%SITE_PERL%%/Mail/Message/Convert.pm
%%SITE_PERL%%/Mail/Message/Convert.pod
%%SITE_PERL%%/Mail/Message/Convert/EmailSimple.pm
%%SITE_PERL%%/Mail/Message/Convert/EmailSimple.pod
%%SITE_PERL%%/Mail/Message/Convert/Html.pm
%%SITE_PERL%%/Mail/Message/Convert/Html.pod
%%SITE_PERL%%/Mail/Message/Convert/HtmlFormatPS.pm
%%SITE_PERL%%/Mail/Message/Convert/HtmlFormatPS.pod
%%SITE_PERL%%/Mail/Message/Convert/HtmlFormatText.pm
%%SITE_PERL%%/Mail/Message/Convert/HtmlFormatText.pod
%%SITE_PERL%%/Mail/Message/Convert/MailInternet.pm
%%SITE_PERL%%/Mail/Message/Convert/MailInternet.pod
%%SITE_PERL%%/Mail/Message/Convert/MimeEntity.pm
%%SITE_PERL%%/Mail/Message/Convert/MimeEntity.pod
%%SITE_PERL%%/Mail/Message/Convert/TextAutoformat.pm
%%SITE_PERL%%/Mail/Message/Convert/TextAutoformat.pod
%%SITE_PERL%%/Mail/Message/Field.pm
%%SITE_PERL%%/Mail/Message/Field.pod
%%SITE_PERL%%/Mail/Message/Field/AddrGroup.pm
%%SITE_PERL%%/Mail/Message/Field/AddrGroup.pod
%%SITE_PERL%%/Mail/Message/Field/Address.pm
%%SITE_PERL%%/Mail/Message/Field/Address.pod
%%SITE_PERL%%/Mail/Message/Field/Addresses.pm
%%SITE_PERL%%/Mail/Message/Field/Addresses.pod
%%SITE_PERL%%/Mail/Message/Field/Attribute.pm
%%SITE_PERL%%/Mail/Message/Field/Attribute.pod
%%SITE_PERL%%/Mail/Message/Field/AuthResults.pm
%%SITE_PERL%%/Mail/Message/Field/AuthResults.pod
%%SITE_PERL%%/Mail/Message/Field/DKIM.pm
%%SITE_PERL%%/Mail/Message/Field/DKIM.pod
%%SITE_PERL%%/Mail/Message/Field/Date.pm
%%SITE_PERL%%/Mail/Message/Field/Date.pod
%%SITE_PERL%%/Mail/Message/Field/Fast.pm
%%SITE_PERL%%/Mail/Message/Field/Fast.pod
%%SITE_PERL%%/Mail/Message/Field/Flex.pm
%%SITE_PERL%%/Mail/Message/Field/Flex.pod
%%SITE_PERL%%/Mail/Message/Field/Full.pm
%%SITE_PERL%%/Mail/Message/Field/Full.pod
%%SITE_PERL%%/Mail/Message/Field/Structured.pm
%%SITE_PERL%%/Mail/Message/Field/Structured.pod
%%SITE_PERL%%/Mail/Message/Field/URIs.pm
%%SITE_PERL%%/Mail/Message/Field/URIs.pod
%%SITE_PERL%%/Mail/Message/Field/Unstructured.pm
%%SITE_PERL%%/Mail/Message/Field/Unstructured.pod
%%SITE_PERL%%/Mail/Message/Head.pm
%%SITE_PERL%%/Mail/Message/Head.pod
%%SITE_PERL%%/Mail/Message/Head/Complete.pm
%%SITE_PERL%%/Mail/Message/Head/Complete.pod
%%SITE_PERL%%/Mail/Message/Head/FieldGroup.pm
%%SITE_PERL%%/Mail/Message/Head/FieldGroup.pod
%%SITE_PERL%%/Mail/Message/Head/ListGroup.pm
%%SITE_PERL%%/Mail/Message/Head/ListGroup.pod
%%SITE_PERL%%/Mail/Message/Head/Partial.pm
%%SITE_PERL%%/Mail/Message/Head/Partial.pod
%%SITE_PERL%%/Mail/Message/Head/ResentGroup.pm
%%SITE_PERL%%/Mail/Message/Head/ResentGroup.pod
%%SITE_PERL%%/Mail/Message/Head/SpamGroup.pm
%%SITE_PERL%%/Mail/Message/Head/SpamGroup.pod
%%SITE_PERL%%/Mail/Message/Part.pm
%%SITE_PERL%%/Mail/Message/Part.pod
%%SITE_PERL%%/Mail/Message/Replace/MailHeader.pm
%%SITE_PERL%%/Mail/Message/Replace/MailHeader.pod
%%SITE_PERL%%/Mail/Message/Replace/MailInternet.pm
%%SITE_PERL%%/Mail/Message/Replace/MailInternet.pod
%%SITE_PERL%%/Mail/Message/Test.pm
%%SITE_PERL%%/Mail/Message/TransferEnc.pm
%%SITE_PERL%%/Mail/Message/TransferEnc.pod
%%SITE_PERL%%/Mail/Message/TransferEnc/Base64.pm
%%SITE_PERL%%/Mail/Message/TransferEnc/Base64.pod
%%SITE_PERL%%/Mail/Message/TransferEnc/Binary.pm
%%SITE_PERL%%/Mail/Message/TransferEnc/Binary.pod
%%SITE_PERL%%/Mail/Message/TransferEnc/EightBit.pm
%%SITE_PERL%%/Mail/Message/TransferEnc/EightBit.pod
%%SITE_PERL%%/Mail/Message/TransferEnc/QuotedPrint.pm
%%SITE_PERL%%/Mail/Message/TransferEnc/QuotedPrint.pod
%%SITE_PERL%%/Mail/Message/TransferEnc/SevenBit.pm
%%SITE_PERL%%/Mail/Message/TransferEnc/SevenBit.pod
%%SITE_PERL%%/Mail/Reporter.pm
%%SITE_PERL%%/Mail/Reporter.pod
%%PERL5_MAN3%%/Mail::Box::FastScalar.3.gz
%%PERL5_MAN3%%/Mail::Box::Parser.3.gz
%%PERL5_MAN3%%/Mail::Box::Parser::Perl.3.gz
%%PERL5_MAN3%%/Mail::Message.3.gz
%%PERL5_MAN3%%/Mail::Message::Body.3.gz
%%PERL5_MAN3%%/Mail::Message::Body::Construct.3.gz
%%PERL5_MAN3%%/Mail::Message::Body::Encode.3.gz
%%PERL5_MAN3%%/Mail::Message::Body::File.3.gz
%%PERL5_MAN3%%/Mail::Message::Body::Lines.3.gz
%%PERL5_MAN3%%/Mail::Message::Body::Multipart.3.gz
%%PERL5_MAN3%%/Mail::Message::Body::Nested.3.gz
%%PERL5_MAN3%%/Mail::Message::Body::String.3.gz
%%PERL5_MAN3%%/Mail::Message::Construct.3.gz
%%PERL5_MAN3%%/Mail::Message::Construct::Bounce.3.gz
%%PERL5_MAN3%%/Mail::Message::Construct::Build.3.gz
%%PERL5_MAN3%%/Mail::Message::Construct::Forward.3.gz
%%PERL5_MAN3%%/Mail::Message::Construct::Read.3.gz
%%PERL5_MAN3%%/Mail::Message::Construct::Rebuild.3.gz
%%PERL5_MAN3%%/Mail::Message::Construct::Reply.3.gz
%%PERL5_MAN3%%/Mail::Message::Construct::Text.3.gz
%%PERL5_MAN3%%/Mail::Message::Convert.3.gz
%%PERL5_MAN3%%/Mail::Message::Convert::EmailSimple.3.gz
%%PERL5_MAN3%%/Mail::Message::Convert::Html.3.gz
%%PERL5_MAN3%%/Mail::Message::Convert::HtmlFormatPS.3.gz
%%PERL5_MAN3%%/Mail::Message::Convert::HtmlFormatText.3.gz
%%PERL5_MAN3%%/Mail::Message::Convert::MailInternet.3.gz
%%PERL5_MAN3%%/Mail::Message::Convert::MimeEntity.3.gz
%%PERL5_MAN3%%/Mail::Message::Convert::TextAutoformat.3.gz
%%PERL5_MAN3%%/Mail::Message::Field.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::AddrGroup.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::Address.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::Addresses.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::Attribute.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::AuthResults.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::DKIM.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::Date.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::Fast.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::Flex.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::Full.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::Structured.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::URIs.3.gz
%%PERL5_MAN3%%/Mail::Message::Field::Unstructured.3.gz
%%PERL5_MAN3%%/Mail::Message::Head.3.gz
%%PERL5_MAN3%%/Mail::Message::Head::Complete.3.gz
%%PERL5_MAN3%%/Mail::Message::Head::FieldGroup.3.gz
%%PERL5_MAN3%%/Mail::Message::Head::ListGroup.3.gz
%%PERL5_MAN3%%/Mail::Message::Head::Partial.3.gz
%%PERL5_MAN3%%/Mail::Message::Head::ResentGroup.3.gz
%%PERL5_MAN3%%/Mail::Message::Head::SpamGroup.3.gz
%%PERL5_MAN3%%/Mail::Message::Part.3.gz
%%PERL5_MAN3%%/Mail::Message::Replace::MailHeader.3.gz
%%PERL5_MAN3%%/Mail::Message::Replace::MailInternet.3.gz
%%PERL5_MAN3%%/Mail::Message::TransferEnc.3.gz
%%PERL5_MAN3%%/Mail::Message::TransferEnc::Base64.3.gz
%%PERL5_MAN3%%/Mail::Message::TransferEnc::Binary.3.gz
%%PERL5_MAN3%%/Mail::Message::TransferEnc::EightBit.3.gz
%%PERL5_MAN3%%/Mail::Message::TransferEnc::QuotedPrint.3.gz
%%PERL5_MAN3%%/Mail::Message::TransferEnc::SevenBit.3.gz
%%PERL5_MAN3%%/Mail::Reporter.3.gz