You will have to create a new SwiftMailer transporter. Digg into Swift sourcecode, and look at available transporters, create your own.
There is a "failover" transporter, but it's not what you are looking for. Inspire yourself from them. 2009/12/20 ScherlOMatic <stefan.scherbich...@gmail.com> > Hello everybody! > > This is my first post and I'm glad if somebody could help me. > Sorry if I there will be some spelling errors, buts it's been a while > I've spoken English. > > Problem: > I need to have multiple mail servers (exactly 2 servers) and I'm not > sure if it's possible to realize it in symfony 1.3/1.4 > In symfony 1.2 I used a stupid 'if-else' construct... > > First I tried to create a second 'transport' entry in my factories.yml > but now I don't know who to use them in my action class. > > Snippet of factories.yml: > mailer: > param: > transport1: > param: > host: smtp.server1.com > transport2: > param: > host: smtp.server2.com > > The purpose for this is that I need differnt servers for different > domains (.at/.de). > > Hope somebody give me a hint! > > > Thx Stefan > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > -- Alexandre Salomé http://alexandre-salome.fr -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.