skeeks/cms-mailer

Mailer for SkeekS CMS

Installs: 6 023

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Type:yii2-extension

3.0.2.2 2024-03-12 16:56 UTC

README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/cms-mailer "*"

or add

"skeeks/cms-mailer": "*"

Configuration app

'components' =>
[
    'mailer' => [
        'class'         => 'skeeks\cms\mail\Mailer',
        'view'          =>
        [
            'theme' =>
            [
                'pathMap' =>
                [
                    '@app/mail' =>
                    [
                        '@app/mail',
                        '@skeeks/cms/mail/templates'
                    ]
                ]
            ]
        ]
    ],

    'mailerSettings' => [
        'class'         => 'skeeks\cms\mail\MailerSettings',
    ],

    'i18n' => [
        'translations' =>
        [
            'skeeks/mail' => [
                'class'             => 'yii\i18n\PhpMessageSource',
                'basePath'          => '@skeeks/cms/mail/messages',
                'fileMap' => [
                    'skeeks/mail' => 'main.php',
                ],
            ]
        ]
    ],
],

'modules' =>
[
    'mailer' => [
        'class'         => 'skeeks\cms\mail\Module',
    ]
]

##Links

skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | en.cms.skeeks.com | cms.skeeks.com | marketplace.cms.skeeks.com