Page 1 of 1

Connection Rotator on 3.3.3

Posted: Thu Apr 09, 2009 9:19 am
by everisk
Hello,

Supposed I have 3 connections, is there any way to know which connection Swift is using to send email right now?

My goal is to have a different reply-to address for each connection therefore I'd need to know which connection the script is using right now in order to set an appropriate header.

Thanks!

Re: Connection Rotator on 3.3.3

Posted: Thu Apr 09, 2009 8:45 pm
by Chris Corbyn
I'm afraid this is not exposed as part of the interface for the rotator connection.

Re: Connection Rotator on 3.3.3

Posted: Thu Apr 09, 2009 10:29 pm
by everisk
Ah thanks, Chris.

So it seems possible, anyone could help me with this? Or any alternatives? Is it possible to set up multiple connections and tell Swift to use which connection?

Any help or directions will be greatly appreciated. I'm really stuck and dont know much about OOP. Thank you in advance.

Re: Connection Rotator on 3.3.3

Posted: Fri Apr 10, 2009 11:13 am
by Chris Corbyn
If you upgrade to version 4 it would be very easy to write a hot-swappable transport. Transports in version 4 are much simpler than the connections in version 3.