2017 © Pedro Peláez
 

yii2-extension emailqueue

Yii Email Queue

image

sky/emailqueue

Yii Email Queue

  • Monday, April 16, 2018
  • by rockman84
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2-Email-Queue

Email Queue Module, (*1)

# How To Install?

via composer run, (*2)

php composer.phar require sky/emailqueue "*"

or add in composer.json to require selection, (*3)

"sky/emailqueue" : "*"

Web Application

set web Application module at main config file, (*4)

'modules' => [
    'emailqueue' => [
        'class' => 'sky\emailqueue\Module'
    ]
],

Console Application

set console Application module at main config file, (*5)

'modules' => [
    'emailqueue' => [
        'class' => 'sky\emailqueue\Module'
    ]
],

run console for do migration, (*6)

./yii migrate --migrationPath="@sky/emailqueue/migrations"

Module Configuration

  • [int] serverID (default 1) define your server id
  • [array] serverAvaliable list of avaliable server to allocation task
  • [bool] deleteAfterSend (default false) delete data queue after successful send email
  • [int] emailSendPerSession (default 60) how much email to send every session
  • [bool] autoAllocationServer (default true) auto allocation task queue to server depend on your serverAvaliable
  • [mix] mailer mailer component

The Versions

16/04 2018

dev-master

9999999-dev

Yii Email Queue

  Sources   Download

Apache-2.0

The Requires

 

by Wong Hansen