Page 1 of 1

Limit mail send on each connection

Posted: Mon Mar 23, 2009 2:25 am
by everisk
Hi,

I'm still on 3.3.3 and i'm wondering if it's possible to use connection rotator for load balancing but set a limit on how many email each connection can send before moving to another connection. For example, I'd like to have connection one send 5000 emails and then loop to connection two to send another 8000 emails and then loop back to connection one. (I might have more than 2 connections but this is just an example).

Thanks!

Re: Limit mail send on each connection

Posted: Mon Mar 23, 2009 3:24 am
by Chris Corbyn
Afraid not... you'll just need to create a subclass to add this behaviour (or just copy the connection class and edit it).

I can look at adding this to 4.0 however.

Re: Limit mail send on each connection

Posted: Tue Mar 24, 2009 3:44 am
by everisk
Oh, I really dont know much about OOP :(

Anyway, if anyone could help me that would be great but if not I guess i'll have to wait until this is added to 4.0.T_T

But thanks for a great library!