I think the issue is that they are being done in a asynchronous,
single threaded fashion. By that, I mean your code is looping over
each email to be sent, one by one. This probably means a full cycle of
connecting to the SMTP service, HELO'ing, killing sockets etc.
You need to find a replacement (Javamail?) which will let you do it in
either a multi-threaded fashion, or in a proper spooled fashion.
E.g. At the moment, its executing like:
<connect>
<send 1 email>
</connect>
<connect>
<send 1 email>
</connect>
<connect>
<send 1 email>
</connect>
You need it to be doing:
<connect>
<send 1 email>
<send 1 email>
<send 1 email>
....
<send 1 email>
</connect>
How to do it, I'm not 100% sure. :) In fact, I'm not even sure that
the behaviour above is correct. It's mostly assumptions. Anyone from
MM or with bulk mailing experience know?
Regards,
Jon
On Tue, 1 Mar 2005 15:04:38 -0800, Ian Skinner
<[EMAIL PROTECTED]> wrote:
> We have done some preliminary testing and were surprised at how slow our mail
> is going out. As slow as 1 a second; at that speed, if we sent an e-mail to
> all ~25,000 donors, it would take nearly 7 hours to send all the messages.
> That does not sound correct to me. I strongly believe we must have something
> throttling our throughput way down. But I have no idea what it may be.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197040
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54