sers / yii-mail
Yii send mail
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:yii-extension
Requires
- sers/yii-config: dev-master
- swiftmailer/swiftmailer: v5.0.1
- yiisoft/yii: 1.1.15
This package is not auto-updated.
Last update: 2024-11-04 16:22:20 UTC
README
Installation
'import' => array(
'backend.extensions.yii-mail.models.*',
),
'components' => array(
'...',
'mail' => array(
'class' => 'app.extensions.yii-mail.YiiMail',
),
'config'=>array(
'class' => 'app.extensions.yii-config.EConfig',
'...',
),
'...',
),
Usage
Yii::app()->mail->send("USER_REGISTER", array(
"#USER_LOGIN#" => $model->login,
"#USER_EMAIL#" => $model->email,
"...",
));