Symfony
- 20 ответов
- 0 вопросов
12
Вклад в тег
swiftmailer:
transport: %mailer_transport%
host: %mailer_host%
port: %mailer_port%
username: %mailer_user%
encryption: %mailer_encryption%
auth_mode: %mailer_auth_mode%
password: %mailer_password%
spool:
type: file
path: "%kernel.root_dir%/../spool"
parameters:
mailer_transport: smtp
mailer_host: smtp.yandex.ru
mailer_user: *****@********
mailer_password: *********
mailer_encryption: ssl
mailer_auth_mode: login
mailer_port: 465
$this->get('mailer')->send($message);
php app/console swiftmailer:spool:send --env=prod