Here's the scoop on the max capacity of CFMAIL. It will spool the messages
fairly quickly, but then CF has to send them off to the SMTP server, and
that's the bottleneck as it stands on all current versions of CF.
By default it transfers messages to the SMTP server at a rate of 100
messages per minute. You can increase this to 400 messages per minute by
changing the spool interval in the registry from 60 to 15 at HLM > Software
> Allaire > ColdFusion > CurrentVersion > Server > SpoolerInterval. This
basically causes CF to send 100 messages to the SMTP server every 15 seconds
rather than every 60 seconds which is the default. Apparently 15 is the
lowest setting you are allowed to use for this.
CFMAIL can also only spool a max of 65534 messages to the harddrive at a
time because of the hex naming convention it uses to name the .cfmail files
in the spool (0000.cfmail - FFFF.cfmail). If you want to send more than
this you should either split the job across two CF servers or wait till the
spool is clear before sending more.
If you are not including unique user info in each individual email (IE:
"Hello Bob, your password is xxxx"), you can speed up your mail a great deal
by using the BCC field and sending each message to 50 or so people at a
time. This would basically reduce 20,000 messages in the CF spool to 400,
and the time it takes to relay them to the SMTP server from 50 minutes to 1
minute. That way the SMTP server takes the responsibility of sending them
out to individual recipients and not CF. Now the bottleneck is your SMTP
server :).
-Cameron
--------------------
Cameron Childress
elliptIQ Inc.
p.770.460.1035.232
f.770.460.0963
--
http://www.neighborware.com
America's Leading Community Network Software
> -----Original Message-----
> From: Ian Lurie [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 12:45 PM
> To: CF-Talk
> Subject: CFMAIL Performance...
>
>
> Hi all,
>
> I have a list of about 10,000 email addresses - a client wants to do a
> one-shot email to them (they're all opt-in addresses collected from their
> web site). It's not an ongoing thing, so Lyris or other systems probably
> aren't worth it.
>
> Can CFMAIL handle it? The client's on a dedicated dual-Pentium
> machine with
> 512 meg of RAM...
>
> Ian
>
> Portent Interactive
> http://www.portentinteractive.com
> Combining process, design, content to create great web sites since 1995
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists