Commit f972afc1740d71afc5e4d8a61c19c69e7742a7ac
1 parent
14b9ed76
Mail fix 4
Showing
1 changed file
with
3 additions
and
5 deletions
Show diff stats
frontend/config/main.php
| ... | ... | @@ -405,17 +405,15 @@ use common\models\Settings; |
| 405 | 405 | 'transport' => [ |
| 406 | 406 | 'class' => 'Swift_SmtpTransport', |
| 407 | 407 | 'host' => 'smtp.gmail.com', |
| 408 | - # пока что стоят мои данные, потому что я пробивал свою почту | |
| 409 | - # для возможности отправки писем | |
| 410 | - 'username' => 'alkhonko@gmail.com', | |
| 411 | - 'password' => 'jakirothebest123', | |
| 408 | + 'username' => 'artboxcore@gmail.com', | |
| 409 | + 'password' => 'upfly2000', | |
| 412 | 410 | 'port' => '587', |
| 413 | 411 | 'encryption' => 'tls', |
| 414 | 412 | ], |
| 415 | 413 | ], |
| 416 | 414 | 'logVars' => [], |
| 417 | 415 | 'message' => [ |
| 418 | - 'from' => ['alkhonko@gmail.com' => 'ABClinic'], | |
| 416 | + 'from' => ['artboxcore@gmail.com' => 'ABClinic'], | |
| 419 | 417 | 'to' => [\Yii::$app->params['artboxAdminEmail']], |
| 420 | 418 | 'subject' => 'Ошибка в почтовом адресе ABClinic. Письма не доставляются после обработки одной из форм', |
| 421 | 419 | ], | ... | ... |