summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorabs <abs>2007-03-02 10:53:59 +0000
committerabs <abs>2007-03-02 10:53:59 +0000
commit9cfba4f06fd971d072fefe64f56bd50b511445e7 (patch)
treed45119e7b51e999d3138f9ae63802b128dc695ac /mail
parentd1ab944efa723690c73d79dd38b8bd2e74c27281 (diff)
downloadpkgsrc-9cfba4f06fd971d072fefe64f56bd50b511445e7.tar.gz
Import mail/p5-Mail-Sender-Easy-0.0.5 into pkgsrc
Mail::Sender's one problem is its a bit cumbersome to use, with so many options and things to open, close, the whole thing, parts, multiparts etc etc., and several ways to check for successs. Its hard to remember what needs done at what point with what data to do what you want and then which way you check what data based on what was done to see if it worked or not. This module's aim is to make all of that ``Easy'' It does so by providing a single function (and method) to send mail based on an (IMHO) easier to work with hashref and returns true or false on success or failer and sets $@ to any errors. The EXAMPLE section shows an ``email or die'' that will send an email using SMTP Auth on port 26 with text and html parts, the html part has a smiley gif embedded inline and a PDF attached and a high priority flag and read and delivery receipt requests. It will take you seconds to customize it to send that to yourself (and its ``Easy'' to understand what its going on without having to understand the intracacies of SMTP and MIME messages.
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Mail-Sender-Easy/DESCR20
-rw-r--r--mail/p5-Mail-Sender-Easy/Makefile19
-rw-r--r--mail/p5-Mail-Sender-Easy/PLIST1
-rw-r--r--mail/p5-Mail-Sender-Easy/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/mail/p5-Mail-Sender-Easy/DESCR b/mail/p5-Mail-Sender-Easy/DESCR
new file mode 100644
index 00000000000..d8a96dbb04d
--- /dev/null
+++ b/mail/p5-Mail-Sender-Easy/DESCR
@@ -0,0 +1,20 @@
+Mail::Sender's one problem is its a bit cumbersome to use, with so
+many options and things to open, close, the whole thing, parts,
+multiparts etc etc., and several ways to check for successs. Its
+hard to remember what needs done at what point with what data to
+do what you want and then which way you check what data based on
+what was done to see if it worked or not.
+
+This module's aim is to make all of that ``Easy''
+
+It does so by providing a single function (and method) to send mail
+based on an (IMHO) easier to work with hashref and returns true or
+false on success or failer and sets $@ to any errors.
+
+The EXAMPLE section shows an ``email or die'' that will send an
+email using SMTP Auth on port 26 with text and html parts, the html
+part has a smiley gif embedded inline and a PDF attached and a high
+priority flag and read and delivery receipt requests. It will take
+you seconds to customize it to send that to yourself (and its
+``Easy'' to understand what its going on without having to understand
+the intracacies of SMTP and MIME messages.
diff --git a/mail/p5-Mail-Sender-Easy/Makefile b/mail/p5-Mail-Sender-Easy/Makefile
new file mode 100644
index 00000000000..5b89acd225f
--- /dev/null
+++ b/mail/p5-Mail-Sender-Easy/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/02 10:53:59 abs Exp $
+#
+
+DISTNAME= Mail-Sender-Easy-v0.0.5
+PKGNAME= p5-${DISTNAME:S:-v:-:}
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DM/DMUEY/}
+
+MAINTAINER= abs@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~dmuey/Mail-Sender/
+COMMENT= Simplified interface to Mail::Sender
+
+DEPENDS+= p5-Mail-Sender>=0:../../mail/p5-Mail-Sender
+DEPENDS+= p5-version>=0:../../devel/p5-version
+
+PERL5_PACKLIST= auto/Mail/Sender/Easy/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-Mail-Sender-Easy/PLIST b/mail/p5-Mail-Sender-Easy/PLIST
new file mode 100644
index 00000000000..dcae34964a7
--- /dev/null
+++ b/mail/p5-Mail-Sender-Easy/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/02 10:53:59 abs Exp $
diff --git a/mail/p5-Mail-Sender-Easy/distinfo b/mail/p5-Mail-Sender-Easy/distinfo
new file mode 100644
index 00000000000..37cad95f374
--- /dev/null
+++ b/mail/p5-Mail-Sender-Easy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/02 10:53:59 abs Exp $
+
+SHA1 (Mail-Sender-Easy-v0.0.5.tar.gz) = 52b1706773416f0169b351c67a23236e9beafd3b
+RMD160 (Mail-Sender-Easy-v0.0.5.tar.gz) = cdfc2ea3bd99acf5eba1b4473a9c578b6b646201
+Size (Mail-Sender-Easy-v0.0.5.tar.gz) = 6476 bytes