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

dev-master 2014-07-08 14:39 UTC

This package is not auto-updated.

Last update: 2024-11-18 16:29:33 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,
    "...",
  ));