Like pretty much every J2EE application, CFMX uses JavaMail under the hood. Why, you ask? Because JavaMail is actually part of the J2EE spec. It also builds upon JavaMail's connection sharing by adding it's own spooling. Since CF flushes to the mail server every X seconds (unless you disable spooling), all the mail sent within that X second window will share a connection, whether it's sent by the same page or different pages.
This is just one more thing that CF isolates from the developer to keep things simple, while taking care of things in the "right" way under the hood. cheers, barneyb On Wed, 2 Mar 2005 09:31:52 +1000, Jon Austin <[EMAIL PROTECTED]> wrote: > 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 -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197043 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

