sky / emailqueue
Yii Email Queue
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.6.0
- sky/yii: ~1.0.0
- yiisoft/yii2: ~2.0.0
- yiisoft/yii2-bootstrap: ~2.0.0
- yiisoft/yii2-swiftmailer: ~2.0.6
This package is auto-updated.
Last update: 2024-11-17 19:40:38 UTC
README
Email Queue Module
How To Install?
via composer run
php composer.phar require sky/emailqueue "*"
or add in composer.json to require selection
"sky/emailqueue" : "*"
Web Application
set web Application module at main config file
'modules' => [
'emailqueue' => [
'class' => 'sky\emailqueue\Module'
]
],
Console Application
set console Application module at main config file
'modules' => [
'emailqueue' => [
'class' => 'sky\emailqueue\Module'
]
],
run console for do migration
./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