Skip to content

skeeks-cms/cms-mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mailer for SkeekS CMS

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