BatchSend vs Send
Posted: Sun May 11, 2008 7:27 pm
Hi guys,
Ok this problem is a little tricky to describe but I'll do my best.
Previously I have been using batchSend method with the decorator plugin to send a group of emails with the same 'body', but some fields like 'first name, last name' were replaced by decorator etc. That's worked ok up until now.
I have recently changed the system to instead queue messages, and it's only now that I've got to the last point that I realise I'm presented with a problem. The system sends out different emails, and the queue that is returned will not necessarily have a 'type' of email all grouped together. So for example whereas before I might have done 100 emails of TYPE_A, then 200 emails of TYPE_B (manually as two seperate batch jobs), now the queue might return 3 x TYPE_A, 1 x TYPE_B, 10 x TYPE_C etc (where TYPE_* are different email/bodies). So this won't work properly with the BatchSend/decorator method AFAIK.
So I guess the only option left is to revert back to sending individual emails one by one. (Unless any other ideas?) So I guess my question comes down to this: Is there any performance issues or 'reasons why I shouldnt revert back to send? Is there any drawbacks with this method? Performance? Spam-factor? etc
Thanks,
EoN
Ok this problem is a little tricky to describe but I'll do my best.
Previously I have been using batchSend method with the decorator plugin to send a group of emails with the same 'body', but some fields like 'first name, last name' were replaced by decorator etc. That's worked ok up until now.
I have recently changed the system to instead queue messages, and it's only now that I've got to the last point that I realise I'm presented with a problem. The system sends out different emails, and the queue that is returned will not necessarily have a 'type' of email all grouped together. So for example whereas before I might have done 100 emails of TYPE_A, then 200 emails of TYPE_B (manually as two seperate batch jobs), now the queue might return 3 x TYPE_A, 1 x TYPE_B, 10 x TYPE_C etc (where TYPE_* are different email/bodies). So this won't work properly with the BatchSend/decorator method AFAIK.
So I guess the only option left is to revert back to sending individual emails one by one. (Unless any other ideas?) So I guess my question comes down to this: Is there any performance issues or 'reasons why I shouldnt revert back to send? Is there any drawbacks with this method? Performance? Spam-factor? etc
Thanks,
EoN