Created
November 4, 2015 15:02
-
-
Save korniychuk/dc4692689bb1903df67a to your computer and use it in GitHub Desktop.
Yii swiftmailer config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', | |
'components' => [ | |
'cache' => [ | |
'class' => 'yii\caching\FileCache', | |
], | |
'authManager' => [ | |
'class' => 'yii\rbac\DbManager', | |
], | |
'mailer' => [ | |
'class' => 'yii\swiftmailer\Mailer', | |
'viewPath' => '@common/mail', | |
'useFileTransport' => false, | |
'transport' => [ | |
'class' => 'Swift_SmtpTransport', | |
'host' => 'smtp.mandrillapp.com', | |
'username' => '[email protected]', | |
'password' => '***', | |
'port' => '587', | |
], | |
], | |
], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment