2017 © Pedro Peláez
 

kohana-module kohana_mailqueue

Kohana module to queue, send, and log email messages from an application.

image

samwilson/kohana_mailqueue

Kohana module to queue, send, and log email messages from an application.

  • Wednesday, February 5, 2014
  • by samwilson
  • Repository
  • 4 Watchers
  • 6 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

A Mail Queue and Log for Kohana

  • Add mail to a queue for subequent sending
  • Send mail from the queue at a specified rate
  • View queue status, and all past mail history

This module uses the Swiftmailer library., (*1)

Version 0.3.0 2014-02-05, (*2)

Installation

  1. Add "samwilson/kohana_mailqueue": "0.3.0" to your composer.json
  2. Run composer update
  3. Create the database table (this is an idempotent command): php index.php mailqueue:upgrade

Configuration

Copy MODPATH/kohana_mailqueue/config/mailqueue.php to APPPATH/config/mailqueue.php and edit the values therein., (*3)

Usage

  1. Add to the queue:, (*4)

    $mq = new MailQueue;
    $mq->add($message);

    Messages are explained in the Swiftmailer documentation., (*5)

  2. View the queue:, (*6)

    Request::factory('mailqueue')->execute();
  3. Send pending mail:, (*7)

    php index.php mailqueue:send --count=n

    Where n is an integer number of messages to send in this run., (*8)

Testing

Integration tests can be run in the usual Kohana fashion. From the base application directory, run, (*9)

./vendor/bin/phpunit --group=mailqueue

These tests require a database connection to be set up in config/database.php and MailQueue to be installed (see above)., (*10)

The Versions

05/02 2014

dev-master

9999999-dev

Kohana module to queue, send, and log email messages from an application.

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

mail email swiftmailer queue kohana

05/02 2014

0.3.0

0.3.0.0

Kohana module to queue, send, and log email messages from an application.

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

mail email swiftmailer queue kohana

20/01 2014

0.2.0

0.2.0.0

Kohana module to queue, send, and log email messages from an application.

  Sources   Download

GPL-3.0+

The Requires

 

mail email swiftmailer queue kohana

20/01 2014

0.1.2

0.1.2.0

Kohana module to queue, send, and log email messages from an application.

  Sources   Download

GPL-3.0+

The Requires

 

mail email swiftmailer queue kohana

20/01 2014

0.1.1

0.1.1.0

Kohana module to queue, send, and log email messages from an application.

  Sources   Download

GPL-3.0+

The Requires

 

mail email swiftmailer queue kohana

20/01 2014

0.1.0

0.1.0.0

Kohana module to queue, send, and log email messages from an application.

  Sources   Download

GPL-3.0+

The Requires