add login email sending

This commit is contained in:
2016-01-08 22:49:18 +01:00
parent 0084526094
commit b83d13ad2f
10 changed files with 292 additions and 104 deletions

View File

@@ -11,8 +11,14 @@ return [
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mail',
'fileTransport' => true,
'transport' =>[]
],
],
'useFileTransport' =>false,
'transport' => [
'class' => 'Swift_SmtpTransport',
'host' => 'smtp.websiter.hu',
'username' => 'info@rocho-net.hu',
'password' => 'botond2015',
'port' => '25',
],
],
]
];