From: Vladimir Fomichev Date: Fri, 23 Jan 2026 13:55:52 +0000 (+0300) Subject: Тестим почту X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=38d3e7fa719a0f637e3b77ff7e7500cbab30c7e2;p=erp24_rep%2Fyii-erp24%2F.git Тестим почту --- diff --git a/erp24/config/console.php b/erp24/config/console.php index fa0f43e1..2b5353fe 100755 --- a/erp24/config/console.php +++ b/erp24/config/console.php @@ -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 ), ], ], diff --git a/erp24/config/web.php b/erp24/config/web.php index dacd629a..43515561 100644 --- a/erp24/config/web.php +++ b/erp24/config/web.php @@ -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 ), ], ],