Environment depends on index?.php which are you using... index.php, frontend_dev.php .. .the environment selection is in it.
On 3 bře, 16:19, Alexx <a.tereschen...@gmail.com> wrote: > Hi, > > Sorry for my english. > > I try test email sending, but when I call action ($browser->post('/ > genre/save')) it call in prod environment (in production environment > mailer settings is incorrect), not in test. How can I change > environment? > > My factories.yml: > test: > mailer: > param: > delivery_strategy: none > > dev: > mailer: > param: > delivery_strategy: none > > all: > mailer: > class: sfMailer > param: > logging: %SF_LOGGING_ENABLED% > charset: %SF_CHARSET% > delivery_strategy: realtime > transport: > class: Swift_SmtpTransport > param: > host: localhost > port: 25 > encryption: ~ > username: ~ > password: ~ > > Tnx -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en