From 52e25dcfd73c38734da79fcd889bdad4cccedf85 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 5 Nov 2004 13:43:04 +0000 Subject: [PATCH] Add pear-Mail_Queue, class to handle mail queue managment. Wrapper for PEAR::Mail and PEAR::DB (or PEAR::MDB/MDB2). It can load, save and send saved mails in background and also backup some mails. PR: ports/73560 Submitted by: Antonio Carlos Venancio Junior --- mail/Makefile | 1 + mail/pear-Mail_Queue/Makefile | 27 +++++++++++++++++++++++++++ mail/pear-Mail_Queue/distinfo | 2 ++ mail/pear-Mail_Queue/pkg-descr | 11 +++++++++++ 4 files changed, 41 insertions(+) create mode 100644 mail/pear-Mail_Queue/Makefile create mode 100644 mail/pear-Mail_Queue/distinfo create mode 100644 mail/pear-Mail_Queue/pkg-descr diff --git a/mail/Makefile b/mail/Makefile index ac90a813f5e1..27ecba56f1dc 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -298,6 +298,7 @@ SUBDIR += pathalias SUBDIR += pear-Mail SUBDIR += pear-Mail_Mime + SUBDIR += pear-Mail_Queue SUBDIR += pear-Net_Cyrus SUBDIR += pear-Net_IMAP SUBDIR += pecl-mailparse diff --git a/mail/pear-Mail_Queue/Makefile b/mail/pear-Mail_Queue/Makefile new file mode 100644 index 000000000000..5b44971f2686 --- /dev/null +++ b/mail/pear-Mail_Queue/Makefile @@ -0,0 +1,27 @@ +# Ports collection makefile for: pear-Mail_Queue +# Date created: 05 November 2004 +# Whom: Antonio Carlos Venancio Junior () +# +# $FreeBSD$ +# + +PORTNAME= Mail_Queue +PORTVERSION= 1.1.3 +CATEGORIES= mail www pear + +MAINTAINER= antonio@php.net +COMMENT= PEAR class for put mails in queue and send them later in background + +BUILD_DEPENDS= ${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail +RUN_DEPENDS= ${BUILD_DEPENDS} + +CATEGORY= Mail +FILES= Queue.php Queue/Body.php Queue/Container.php \ + Queue/Container/db.php Queue/Container/mdb.php \ + Queue/Container/mdb2.php +DOCS= add_example.php base.php mdb_mail_queue_schema.xml \ + mysql.sql pgsql.sql send_example.php TODO README + +.include +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" +.include diff --git a/mail/pear-Mail_Queue/distinfo b/mail/pear-Mail_Queue/distinfo new file mode 100644 index 000000000000..46ff21526515 --- /dev/null +++ b/mail/pear-Mail_Queue/distinfo @@ -0,0 +1,2 @@ +MD5 (PEAR/Mail_Queue-1.1.3.tgz) = e1eae2fd188f1926a83b97cdcf0c239e +SIZE (PEAR/Mail_Queue-1.1.3.tgz) = 14721 diff --git a/mail/pear-Mail_Queue/pkg-descr b/mail/pear-Mail_Queue/pkg-descr new file mode 100644 index 000000000000..8eb8346914f4 --- /dev/null +++ b/mail/pear-Mail_Queue/pkg-descr @@ -0,0 +1,11 @@ +Class to handle mail queue managment. +Wrapper for PEAR::Mail and PEAR::DB (or PEAR::MDB/MDB2). +It can load, save and send saved mails in background +and also backup some mails. + +The Mail_Queue class puts mails in a temporary container, +waiting to be fed to the MTA (Mail Transport Agent), +and sends them later (e.g. a certain amount of mails +every few minutes) by crontab or in other way. + +WWW: http://pear.php.net/package/Mail_Queue/