skeeks/cms-mailer

Mailer for SkeekS CMS

Installs: 6 044

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Type:yii2-extension

3.0.2.3 2024-12-09 07:55 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