]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Тестим почту
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Fri, 23 Jan 2026 13:55:52 +0000 (16:55 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Fri, 23 Jan 2026 13:55:52 +0000 (16:55 +0300)
erp24/config/console.php
erp24/config/web.php

index fa0f43e183fa7c0dca570641117add6d6511ed02..2b5353fe7a8a8c98d900efa10f24338eefac0fb4 100755 (executable)
@@ -65,11 +65,16 @@ $config = [
             'transport' => [
                 'dsn' => sprintf(
                     '%s://%s:%s@%s:%d',
-                    getenv('MAIL_SCHEME') ?: 'smtps',
-                    urlencode(getenv('MAIL_USERNAME') ?: 'flow@bazacvetov24.ru'),
-                    urlencode(getenv('MAIL_PASSWORD') ?: 'ctqamxqeshgxwsgn'),
-                    getenv('MAIL_HOST') ?: 'smtp.yandex.ru',
-                    (int)(getenv('MAIL_PORT') ?: 465)
+                    'smtps',
+                    //getenv('MAIL_SCHEME') ?: 'smtps',
+                    //urlencode(getenv('MAIL_USERNAME') ?: 'flow@bazacvetov24.ru'),
+                    //urlencode(getenv('MAIL_PASSWORD') ?: 'ctqamxqeshgxwsgn'),
+                    'flow@bazacvetov24.ru',
+                    'ctqamxqeshgxwsgn',
+                    'smtp.yandex.ru',
+                    //getenv('MAIL_HOST') ?: 'smtp.yandex.ru',
+                    //(int)(getenv('MAIL_PORT') ?: 465)
+                    465
                 ),
             ],
         ],
index dacd629a63871cf35dfa5865fbe26ec5c59fbd28..43515561dc79149323243d493a1051312da9f7e8 100644 (file)
@@ -78,11 +78,16 @@ $config = [
             'transport' => [
                 'dsn' => sprintf(
                     '%s://%s:%s@%s:%d',
-                    getenv('MAIL_SCHEME') ?: 'smtps',
-                    urlencode(getenv('MAIL_USERNAME') ?: 'flow@bazacvetov24.ru'),
-                    urlencode(getenv('MAIL_PASSWORD') ?: 'ctqamxqeshgxwsgn'),
-                    getenv('MAIL_HOST') ?: 'smtp.yandex.ru',
-                    (int)(getenv('MAIL_PORT') ?: 465)
+                    'smtps',
+                    //getenv('MAIL_SCHEME') ?: 'smtps',
+                    //urlencode(getenv('MAIL_USERNAME') ?: 'flow@bazacvetov24.ru'),
+                    //urlencode(getenv('MAIL_PASSWORD') ?: 'ctqamxqeshgxwsgn'),
+                    'flow@bazacvetov24.ru',
+                    'ctqamxqeshgxwsgn',
+                    'smtp.yandex.ru',
+                    //getenv('MAIL_HOST') ?: 'smtp.yandex.ru',
+                    //(int)(getenv('MAIL_PORT') ?: 465)
+                    465
                 ),
             ],
         ],