Hi all,
I'm upgrading my project to sf 1.3 and I'm trying to configure the
SwiftMailer. I want to use the spool system, so here is my
factories.yml:
all:
mailer:
class: sfMailer
param:
logging: %SF_LOGGING_ENABLED%
charset: %SF_CHARSET%
delivery_strategy: spool
spool_class: Swift_FileSpool
spool_arguments: [ swift_spool ]
This conf works just fine. The mails are created in my swift_spool
directory. But I want, in dev env, the mails to be sent to a single
address. So I add this conf:
dev:
mailer:
param:
delivery_strategy: single_address
delivery_address: [email protected]
But the problem is that the 'single_address' strategy overrides the
'spool' strategy, so Swift tries to send my mail immediately, with the
default transporter... So my question is:
Is there a way to configure the mailer to send the mails to a single
address using a spool?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---