Yii2 email

1.2.0 2015-11-05 08:05 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:48:33 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require infoweb-internet-solutions/yii2-cms-email "*"

or add

"infoweb-internet-solutions/yii2-cms-email": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply modify your application configuration as follows:

Your backend configuration as follows:

return [
    ...
    'modules' => [
        'email' => [
            'class' => 'infoweb\email\Module'
        ],
    ],
    ...
];

Import the translations and use category 'infoweb/email':

yii i18n/import @infoweb/email/messages

To use the module, execute yii migration

yii migrate/up --migrationPath=@vendor/infoweb-internet-solutions/yii2-cms-email/migrations