Re: Throttling CFMail

2009-08-26 Thread Pete Ruckelshaus

OK, I'm uploading the new  improved code now.  What I did, in a nutshell:
* Created a mail spool table in the database (storing
to/from/subject/htmlcontent/textcontent/etc.)
* Created a series of CFC's:
+ one inserts a record into the spool table
+ one cfc returns top _x_ messages in a query object, ordered by spool time
ascending so the oldest messages get sent first.  I have the default set to
100 but that can be overriden
+ another cfc returns messages by spool ID, in case I need to force send a
message
+ another CFC sets a sent value in the mail spool table once the message
is sent
* created a mail spool gateway that has a scheduled task that runs every 5
minutes, sending 100 messages at a time

I still have some admin tools to create, but this will get me back in
business.

Thanks!

Pete

On Tue, Aug 25, 2009 at 2:53 PM, Dan Baughman dan.baugh...@gmail.comwrote:


 It's much more than just sending that many at once. Most recipient email
 servers will kick you out for sending too many, too fast, as well.
 ie. yahoo will ban you for 48 hours if you try to delivery too many emails
 in a short period of time. To delivery effectively you also need
 domain-specific throttling.

 Dan

 On Tue, Aug 25, 2009 at 8:54 AM, Cameron Childress camer...@gmail.com
 wrote:

 
  On Mon, Aug 24, 2009 at 4:58 PM, Pete Ruckelshauspruckelsh...@gmail.com
 
  wrote:
   I got dinged by my ISP for sending 2,000 email newsletters at once.
  Any
   ideas on how to throttle these emails so that they are sent in small
   batches, i.e. 100 per minute?  Is there a simple way to accomplish
 this,
  or
   do I just need to write my own code that loops through and sends emails
   incrementally?
 
  You may have better luck just paying for SMTP services from a company
  who doesn't mind you sending that many emails at once.  You might even
  open that conversation with your ISP and ask them if they would be
  willing to allow you to pay a little extra for the privilege of using
  their outbound SMTP a little more.  Some ISPs have a business account
  or some other type of email accoutnt hat would allow you to do this.
 
  -Camer
 
 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325757
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Throttling CFMail

2009-08-25 Thread Cameron Childress

On Mon, Aug 24, 2009 at 4:58 PM, Pete Ruckelshauspruckelsh...@gmail.com wrote:
 I got dinged by my ISP for sending 2,000 email newsletters at once.  Any
 ideas on how to throttle these emails so that they are sent in small
 batches, i.e. 100 per minute?  Is there a simple way to accomplish this, or
 do I just need to write my own code that loops through and sends emails
 incrementally?

You may have better luck just paying for SMTP services from a company
who doesn't mind you sending that many emails at once.  You might even
open that conversation with your ISP and ask them if they would be
willing to allow you to pay a little extra for the privilege of using
their outbound SMTP a little more.  Some ISPs have a business account
or some other type of email accoutnt hat would allow you to do this.

-Camer

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325681
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Throttling CFMail - The reasons it's a good practice

2009-08-25 Thread Robert Harrison

  You may have better luck just paying for SMTP services from a company who
doesn't mind you sending that many emails at once.  

Last night I sent some code which does works to throttle email. I use it all
the time. If you can't sort out how it works feel free to give me a shout
off-list. It's pretty straight forward.

Just so there's no confusion on the reasons to throttle the email - it may
be a provider issue, but it's also a receiver issue. Even if your provider
let's you send out a zillion emails at once, the ISPs of the recipients may
block your mail (or block/blacklist your mail server or mail server IP) as a
spam source. Many of the receiving ISPs (Yahoo, AOL, etc.) have robots that
monitor the incoming mail and automatically block suspects. 

You can be blocked for a lot of reasons, but a couple of things that often
trigger the alarm is: 

1) too many concurrent connections from a mail server; or 
2) to large a volume of incoming mail in a short period of time 

If your service providers IP or mail server get's blocked/blacklisted, then
you are likely to have some real issues with your service provider.  

There is much reason to throttle outbound email, and the service provider is
only half the equation. You also throttle email for the benefit of the
receiving ISPs.


Robert B. Harrison
Director of Interactive Services
Austin  Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be .

Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged

 

__ Information from ESET Smart Security, version of virus signature
database 4366 (20090825) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325682
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Throttling CFMail - The reasons it's a good practice

2009-08-25 Thread Cameron Childress

On Tue, Aug 25, 2009 at 11:25 AM, Robert
Harrisonrob...@austin-williams.com wrote:
 Many of the receiving ISPs (Yahoo, AOL, etc.) have robots that
 monitor the incoming mail and automatically block suspects.

Most of these also have whitelist programs and feedback loops for
unsubs.  That's all very time consuming to manage though so it's not
always the best route...

-Cameron

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325692
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Throttling CFMail

2009-08-25 Thread Dan Baughman

It's much more than just sending that many at once. Most recipient email
servers will kick you out for sending too many, too fast, as well.
ie. yahoo will ban you for 48 hours if you try to delivery too many emails
in a short period of time. To delivery effectively you also need
domain-specific throttling.

Dan

On Tue, Aug 25, 2009 at 8:54 AM, Cameron Childress camer...@gmail.comwrote:


 On Mon, Aug 24, 2009 at 4:58 PM, Pete Ruckelshauspruckelsh...@gmail.com
 wrote:
  I got dinged by my ISP for sending 2,000 email newsletters at once.  Any
  ideas on how to throttle these emails so that they are sent in small
  batches, i.e. 100 per minute?  Is there a simple way to accomplish this,
 or
  do I just need to write my own code that loops through and sends emails
  incrementally?

 You may have better luck just paying for SMTP services from a company
 who doesn't mind you sending that many emails at once.  You might even
 open that conversation with your ISP and ask them if they would be
 willing to allow you to pay a little extra for the privilege of using
 their outbound SMTP a little more.  Some ISPs have a business account
 or some other type of email accoutnt hat would allow you to do this.

 -Camer

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325696
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Throttling CFMail

2009-08-24 Thread brad

I believe you will need to account for that throttling in your code. 
Once your CFMAIL tag as run, the CF server will sent your messages as
soon as the mail spooler runs next.  I suggest a queue table of your own
that you dump ALL the E-mails into and a job that polls that table and
sends out x number of mails per minute.

Or, an even better solution would be to set up your own SMTP server or
pay to use one that will allow for your load.  ISP's tend to get very
cranky if they think you are a spammer since that tends to get them
blacklisted and they don't want that.

~Brad

 Original Message 
 Subject: Throttling CFMail
 From: Pete Ruckelshaus pruckelsh...@gmail.com
 Date: Mon, August 24, 2009 3:58 pm
 To: cf-talk cf-talk@houseoffusion.com
 
 
 I got dinged by my ISP for sending 2,000 email newsletters at once. Any
 ideas on how to throttle these emails so that they are sent in small
 batches, i.e. 100 per minute? Is there a simple way to accomplish this,
or
 do I just need to write my own code that loops through and sends emails
 incrementally?
 Thanks.
 
 Pete
 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325640
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Throttling CFMail

2009-08-24 Thread Agha Mehdi

Pete,  An old discussion on CFTalk that may still be valid
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:47090
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:47090

On Mon, Aug 24, 2009 at 2:07 PM, b...@bradwood.com wrote:


 I believe you will need to account for that throttling in your code.
 Once your CFMAIL tag as run, the CF server will sent your messages as
 soon as the mail spooler runs next.  I suggest a queue table of your own
 that you dump ALL the E-mails into and a job that polls that table and
 sends out x number of mails per minute.

 Or, an even better solution would be to set up your own SMTP server or
 pay to use one that will allow for your load.  ISP's tend to get very
 cranky if they think you are a spammer since that tends to get them
 blacklisted and they don't want that.

 ~Brad

  Original Message 
  Subject: Throttling CFMail
  From: Pete Ruckelshaus pruckelsh...@gmail.com
  Date: Mon, August 24, 2009 3:58 pm
  To: cf-talk cf-talk@houseoffusion.com


  I got dinged by my ISP for sending 2,000 email newsletters at once. Any
  ideas on how to throttle these emails so that they are sent in small
  batches, i.e. 100 per minute? Is there a simple way to accomplish this,
 or
  do I just need to write my own code that loops through and sends emails
  incrementally?
  Thanks.

  Pete



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325641
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Throttling CFMail

2009-08-24 Thread David Long

Good luck on the throttling. 

I never could get it to work but was able to come to an understanding with
my Web Host's Sysadmin. Don't know what he did but I now send out 3,000+
with a single click using:
CFLOOP list=#Form.SelectedRecipients# index=Recipient
CFMAIL 
from=#Form.Sender#
to=#Recipient#
subject=#Form.Subject# 
type=HTML

***content***
/CFMAIL
/CFLOOP

 and they loop thru the spooler smooth as silk.

One other suggestion, based on sad experience, assuming yours is an opt-in
list, be sure you give subscribers a readily available unsubscribe link.
Many AOL users are too lazy to ask to be removed and will just click the
This is spam button which puts your ISP's server on a blacklist.

Dave

-Original Message-
From: Pete Ruckelshaus [mailto:pruckelsh...@gmail.com] 
Sent: Monday, August 24, 2009 3:58 PM
To: cf-talk
Subject: Throttling CFMail



I got dinged by my ISP for sending 2,000 email newsletters at once.  Any
ideas on how to throttle these emails so that they are sent in small
batches, i.e. 100 per minute?  Is there a simple way to accomplish this, or
do I just need to write my own code that loops through and sends emails
incrementally?
Thanks.

Pete




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325644
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Throttling CFMail

2009-08-24 Thread Pete Ruckelshaus

The emails are completely opt-in, and there are links in the footer of each
email to both immediately remove from the email list and also change their
email preferences.
I might just create a generic sent emails table with an accompanying
scheduled task that runs every 5 minutes, grabs the top (x) unsent emails,
sends them, and sets a sent timestamp.

Thanks

Pete

On Mon, Aug 24, 2009 at 5:42 PM, David Long d...@northgoods.com wrote:


 Good luck on the throttling.

 I never could get it to work but was able to come to an understanding with
 my Web Host's Sysadmin. Don't know what he did but I now send out 3,000+
 with a single click using:
CFLOOP list=#Form.SelectedRecipients# index=Recipient
CFMAIL
from=#Form.Sender#
to=#Recipient#
subject=#Form.Subject#
type=HTML

***content***
/CFMAIL
/CFLOOP

  and they loop thru the spooler smooth as silk.

 One other suggestion, based on sad experience, assuming yours is an
 opt-in
 list, be sure you give subscribers a readily available unsubscribe link.
 Many AOL users are too lazy to ask to be removed and will just click the
 This is spam button which puts your ISP's server on a blacklist.

 Dave

 -Original Message-
 From: Pete Ruckelshaus [mailto:pruckelsh...@gmail.com]
 Sent: Monday, August 24, 2009 3:58 PM
 To: cf-talk
 Subject: Throttling CFMail



 I got dinged by my ISP for sending 2,000 email newsletters at once.  Any
 ideas on how to throttle these emails so that they are sent in small
 batches, i.e. 100 per minute?  Is there a simple way to accomplish this, or
 do I just need to write my own code that loops through and sends emails
 incrementally?
 Thanks.

 Pete




 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325645
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Throttling CFMail

2009-08-24 Thread Robert Harrison

Below, I cut out a routine from a much larger program that builds and throttles 
mail. You should be able to follow the logic. You'll need to adjust for your 
use, but the bottom line is:

1.  put mail addresses in a queue
2. loop and get X records from queue, send them
3. set a time condition 
3. use an if condition to process mail only when the time condition is not the 
current minute and reset the time condition

You should be able to follow the logic. I use the all the time and it works 
flawlessly. You can throttle mail to any rate you want this way. This runs in 
the background so you don't have to wait for processing to finish.

Good Luck,
Robert Harrison

cfsetting requesttimeout=54000 
cfset send_limit=20 !--- the number of mails to go out per minute ---
cfset ntime=#Now()#
cfset process=1

cfloop condition=#process# eq 1
cfif ntime lte now()
cfset ntime=#DateAdd(n,1,#ntime#)#
!--- this gets the mail to send this loop from a mail queue previously 
populated,
that's probably where you are running your CFMAIL ---
cfquery name=queued datasource=#dsn#
SELECT TOP #send_limit# *
FROM tbl_mail_queue
/cfquery

cfif queued.recordcount gte 1
cfloop query=queued
!--- This is the start of processing for each mail ---
cfif isEmail(queued.email) is true
cfmail to=#trim(queued.email)#
from=#trim(mail_data.sender)#
failto = #trim(mail_data.bounces)#
subject=#trim(mail_data.subject)#
server=#trim(bulk_smtpid)#
spoolEnable=yes
!--- YOUR MAIL CONTENT GOES HERE ---
/cfmail
/cfif
!--- this is the end of processing for each mail record 
---
!--- clears sent mail from the queue ---
cfquery datasource=#dsn#
DELETE From tbl_mail_queue
WHERE id=#queued.id#
/cfquery
/cfloop
cfelse
cfset process=0 !--- stops processing loop ---
cfbreak
/cfif !--- if records found in queue ---
/cfif!---  time tag ---
cfflush
/cfloop




  _  

From: David Long [mailto:d...@northgoods.com]
To: cf-talk [mailto:cf-t...@houseoffusion.com]
Sent: Mon, 24 Aug 2009 17:42:11 -0400
Subject: RE: Throttling CFMail


  Good luck on the throttling. 
  
  I never could get it to work but was able to come to an understanding with
  my Web Host's Sysadmin. Don't know what he did but I now send out 3,000+
  with a single click using:
   CFLOOP list=#Form.SelectedRecipients# index=Recipient
CFMAIL 
 from=#Form.Sender#
 to=#Recipient#
 subject=#Form.Subject# 
 type=HTML
 
  ***content***
/CFMAIL
   /CFLOOP
  
   and they loop thru the spooler smooth as silk.
  
  One other suggestion, based on sad experience, assuming yours is an opt-in
  list, be sure you give subscribers a readily available unsubscribe link.
  Many AOL users are too lazy to ask to be removed and will just click the
  This is spam button which puts your ISP's server on a blacklist.
  
  Dave
  
  -Original Message-
  From: Pete Ruckelshaus [mailto:pruckelsh...@gmail.com] 
  Sent: Monday, August 24, 2009 3:58 PM
  To: cf-talk
  Subject: Throttling CFMail
  
  
  
  I got dinged by my ISP for sending 2,000 email newsletters at once.  Any
  ideas on how to throttle these emails so that they are sent in small
  batches, i.e. 100 per minute?  Is there a simple way to accomplish this, or
  do I just need to write my own code that loops through and sends emails
  incrementally?
  Thanks.
  
  Pete
  
  
  
  
  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325649
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Throttling CFMail

2009-08-24 Thread Rick Root

One thing you could do instead of calling cfmail insert the
details into a DB table (to,from, cc, subject, type, content, etc)...
then have a scheduled task that runs every minute send out 100 emails
from the table and flag them as sent.  Then, it takes a minimum of 20
minutes to send out 2000 messages.  And of course you can adjust that
speed by changing the number of emails it does per interval.

-- 
Rick Root
CFFM - Open Source Coldfusion File Manager
http://www.opensourcecf.com/cffm

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325650
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Throttling CFMail

2009-08-24 Thread Robert Harrison

That's exactly what the routine I sent out a few minutes ago does. 

Robert


  _  

From: Rick Root [mailto:rick.r...@webworksllc.com]
To: cf-talk [mailto:cf-t...@houseoffusion.com]
Sent: Mon, 24 Aug 2009 20:41:35 -0400
Subject: Re: Throttling CFMail


  One thing you could do instead of calling cfmail insert the
  details into a DB table (to,from, cc, subject, type, content, etc)...
  then have a scheduled task that runs every minute send out 100 emails
  from the table and flag them as sent.  Then, it takes a minimum of 20
  minutes to send out 2000 messages.  And of course you can adjust that
  speed by changing the number of emails it does per interval.
  
  -- 
  Rick Root
  CFFM - Open Source Coldfusion File Manager
  http://www.opensourcecf.com/cffm
  
  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325651
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Throttling CFMail

2009-08-24 Thread Rick Root

Heh, sorry.  That's essentially what we do when we sent bulk mail
where I work... except instead of a scheduled task I have an event
gateway that fires off every minute (I wrote a very simple interval
gateway for this purpose, just google simple interval gateway)

Rick

On Mon, Aug 24, 2009 at 8:46 PM, Robert
Harrisonrob...@austin-williams.com wrote:

 That's exactly what the routine I sent out a few minutes ago does.

 Robert


  _

 From: Rick Root [mailto:rick.r...@webworksllc.com]
 To: cf-talk [mailto:cf-t...@houseoffusion.com]
 Sent: Mon, 24 Aug 2009 20:41:35 -0400
 Subject: Re: Throttling CFMail


  One thing you could do instead of calling cfmail insert the
  details into a DB table (to,from, cc, subject, type, content, etc)...
  then have a scheduled task that runs every minute send out 100 emails
  from the table and flag them as sent.  Then, it takes a minimum of 20
  minutes to send out 2000 messages.  And of course you can adjust that
  speed by changing the number of emails it does per interval.

  --
  Rick Root
  CFFM - Open Source Coldfusion File Manager
  http://www.opensourcecf.com/cffm



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325652
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Throttling CFMAIL

2001-08-30 Thread Gary Kraeger

cf_sleep in the tag gallery

Gary
cfdev.com
http://www.cfdev.com
- Original Message -
From: DSJ / PC1, Inc. [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 1:23 PM
Subject: Throttling CFMAIL


 Does anyone know how I would be able to throttle a batch of cfmail
 processes?

 For instance, let's say I've got a database of 1000 e-mail addresses
(opt-in
 of course), and I want to wait 30 seconds between each one that get's sent
 out.  Any way I can do this?

 Thanks,

 Dennis St. John
 PC1, Inc.



~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Rick Lamb

You could use a meta=refresh for whatever interval you wanted. Then use a
session variable to keep track of what record your on and increment it every
time the page loads. Make sense?

Rick

-Original Message-
From: DSJ / PC1, Inc. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 12:24 PM
To: CF-Talk
Subject: Throttling CFMAIL


Does anyone know how I would be able to throttle a batch of cfmail
processes?

For instance, let's say I've got a database of 1000 e-mail addresses (opt-in
of course), and I want to wait 30 seconds between each one that get's sent
out.  Any way I can do this?

Thanks,

Dennis St. John
PC1, Inc.
~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Cameron Childress

 cf_sleep in the tag gallery

Using CF_Sleep to pause 30 seconds 1000 times is probably not a very good
idea.  You'd be tying up a CF thread for 500 minutes, and CF would probably
kill the thread way before the timeout was reached.

I'm not exactly sure why you would want spend 8 hours and 20 minutes sending
out 1000 messages.

Maybe you could enlighten us as to the reason you think you need to do this?
There might be a better solution than slowing CFMAIL down.

As your question stands, I would say you best bet would probably be to set
up a scheduled event that runs every 30 seconds, sending out one email each
time.  Again, why one would do this escapes me.

-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: Gary Kraeger [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 1:49 PM
 To: CF-Talk
 Subject: Re: Throttling CFMAIL


 cf_sleep in the tag gallery

 Gary
 cfdev.com
 http://www.cfdev.com
 - Original Message -
 From: DSJ / PC1, Inc. [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, August 30, 2001 1:23 PM
 Subject: Throttling CFMAIL


  Does anyone know how I would be able to throttle a batch of cfmail
  processes?
 
  For instance, let's say I've got a database of 1000 e-mail addresses
 (opt-in
  of course), and I want to wait 30 seconds between each one that
 get's sent
  out.  Any way I can do this?
 
  Thanks,
 
  Dennis St. John
  PC1, Inc.
 
 
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread DSJ / PC1, Inc.

Did you mean cfx_sleep?  If so, I don't know if that will work since I am
only using 1 cfmail inference in my code, upon which all 1,000 e-mail
addresses get passed to it at once.

Oh, just saw Cameron's reply come in, which I will answer.

Dennis

 -Original Message-
 From: Gary Kraeger [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 11:49 AM
 To: CF-Talk
 Subject: Re: Throttling CFMAIL


 cf_sleep in the tag gallery

 Gary
 cfdev.com
 http://www.cfdev.com
 - Original Message -
 From: DSJ / PC1, Inc. [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, August 30, 2001 1:23 PM
 Subject: Throttling CFMAIL


  Does anyone know how I would be able to throttle a batch of cfmail
  processes?
 
  For instance, let's say I've got a database of 1000 e-mail addresses
 (opt-in
  of course), and I want to wait 30 seconds between each one that
 get's sent
  out.  Any way I can do this?
 
  Thanks,
 
  Dennis St. John
  PC1, Inc.
 
 
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread DSJ / PC1, Inc.

Ok Cameron.  Here's the deal.

I run the web site for ColoradoRunner.com.  On that web site, you will
notice that we collect e-mail addresses from those that opt to give it to
us, in the form of an e-mail collection box on the home page, as well as the
contest for the free shoe give away each and every week.

Anyways, we currently have about 7,000 opt-in e-mail addresses in our
database, which we send out bi-weekly (or so) e-mails to, through a custom
CF app I've written.  Well, each time we send out a mailing, ALL 1,500
aol.com e-mails get returned to us.  I believe it's because the aol.com mail
servers think that we are spamming them (which we are not).  So, my thinking
is that if we stagger the outgoing mail, the aol.com mail servers may let
the mail through.  Everyone else using other ISP's gets the mailing fine.

Make sense?  Any suggestions?

Thanks!

Dennis

 -Original Message-
 From: Cameron Childress [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 11:56 AM
 To: CF-Talk
 Subject: RE: Throttling CFMAIL


  cf_sleep in the tag gallery

 Using CF_Sleep to pause 30 seconds 1000 times is probably not a very good
 idea.  You'd be tying up a CF thread for 500 minutes, and CF
 would probably
 kill the thread way before the timeout was reached.

 I'm not exactly sure why you would want spend 8 hours and 20
 minutes sending
 out 1000 messages.

 Maybe you could enlighten us as to the reason you think you need
 to do this?
 There might be a better solution than slowing CFMAIL down.

 As your question stands, I would say you best bet would probably be to set
 up a scheduled event that runs every 30 seconds, sending out one
 email each
 time.  Again, why one would do this escapes me.

 -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: Gary Kraeger [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 30, 2001 1:49 PM
  To: CF-Talk
  Subject: Re: Throttling CFMAIL
 
 
  cf_sleep in the tag gallery
 
  Gary
  cfdev.com
  http://www.cfdev.com
  - Original Message -
  From: DSJ / PC1, Inc. [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Thursday, August 30, 2001 1:23 PM
  Subject: Throttling CFMAIL
 
 
   Does anyone know how I would be able to throttle a batch of cfmail
   processes?
  
   For instance, let's say I've got a database of 1000 e-mail addresses
  (opt-in
   of course), and I want to wait 30 seconds between each one that
  get's sent
   out.  Any way I can do this?
  
   Thanks,
  
   Dennis St. John
   PC1, Inc.
  
  
  
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Throttling CFMAIL

2001-08-30 Thread Matt Robertson

why one would do this escapes me.

I have several clients on my server with CF-based mail lists, (addresses
collected from their web sites, or added in via an admin interface). Since
they control their actions as to when and how much mail they send,
throttling the rate is a safety precaution.

This code will literally dribble mail out at a rate of 600 per hour, and the
user has to leave it on their screen while it runs.  Certainly not more
suited for anything more than a mom-and-pop mail list, but it works without
tying up threads for an extended period of time.  You could easily crank up
the mail rate by adjusting the page refresh interval, or upping the rate
CFMAIL sends, or a bit of both.

Also, if you don't have CF_ResendUndeliverableMail3 running on your server,
you should.  Lowering the default spooler interval in CF Admin is a good
idea too.

Hope this helps,

-
Matt Robertson  [EMAIL PROTECTED]
MSB Designs, Inc. http://mysecretbase.com
-

CFSET variables.DataSource=foohbarorg
CFSET url.Subject=Security Advisory
CFSET variables.PersonFrom=[EMAIL PROTECTED]
CFSET variables.MailServer=mail.mysecretbase.com
CFQUERY name=MailRun datasource=#variables.DataSource#
 SELECT MailList.Email FROM MailList
 WHERE 0=0
/cfquery
CFPARAM name=ThisStart default=1
CFIF ThisStart GT MailRun.RecordCount
 htmlheadtitleFINISHED/title/headbody BGCOLOR=#FF
ONLOAD=history.go(1)
 FONT FACE=Georgia, Times New Roman, Times
 H1FONT COLOR=#008000All Done/FONT/H1
 BFONT COLOR=#80You should close this browser window/FONT!/B
 PBDo NOT press your BACK button/B to leave, or you could wind up
sending some email messages all over again.
 /FONT
 /body/html
CFELSE
 CFSET NextStart=ThisStart+10
 CFSET NextDisplay=ThisStart+9
 CFIF NextDisplay GT MailRun.RecordCountCFSET
NextDisplay=MailRun.RecordCount/CFIF
 HTML
 CFOUTPUT
 meta http-equiv=REFRESH content=60;
URL=mailit.cfm?ThisStart=#NextStart#SUBJECT=#url.Subject#
 /cfoutput
 HEADTITLELow Volume Mass Mailer/TITLE/HEADbody BGCOLOR=#FF
ONLOAD=history.go(1)
 FONT FACE=Georgia, Times New Roman, Times
 CFMAIL
  TO=#MailRun.Email#
 FROM=#variables.PersonFrom#
 SUBJECT=#url.Subject#
  SERVER=#variables.MailServer#
 QUERY=MailRun
 MAXROWS=10
 STARTROW=#ThisStart#
  TYPE=HTML
blahblahblah
 /CFMAIL
 CFOUTPUT
 H1FONT COLOR=##80Sending messages/FONT #ThisStart# FONT
COLOR=##80thru/FONT #NextDisplay#/H1
 BFONT COLOR=##008000Total to send:/FONT
#MailRun.RecordCount#/BP
 /CFOUTPUT
 This page will send email in batches of 10 messages at 60-second intervals,
for a total rate of 600 messages per hour.
 You should leave your computer completely untouched and wait for this job
to complete.  When it finishes, you will be notified.
 /FONT
 /body/html
/CFIF


~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Tony Gruen

I use cfx_sleep for this all the time. It has worked well for me to date.
The largest list I have used it on is 5500 records with a 1 second wait
time.

Tony Gruen

-Original Message-
From: DSJ / PC1, Inc. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 11:04 AM
To: CF-Talk
Subject: RE: Throttling CFMAIL


Did you mean cfx_sleep?  If so, I don't know if that will work since I am
only using 1 cfmail inference in my code, upon which all 1,000 e-mail
addresses get passed to it at once.

Oh, just saw Cameron's reply come in, which I will answer.

Dennis

 -Original Message-
 From: Gary Kraeger [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 11:49 AM
 To: CF-Talk
 Subject: Re: Throttling CFMAIL


 cf_sleep in the tag gallery

 Gary
 cfdev.com
 http://www.cfdev.com
 - Original Message -
 From: DSJ / PC1, Inc. [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, August 30, 2001 1:23 PM
 Subject: Throttling CFMAIL


  Does anyone know how I would be able to throttle a batch of cfmail
  processes?
 
  For instance, let's say I've got a database of 1000 e-mail addresses
 (opt-in
  of course), and I want to wait 30 seconds between each one that
 get's sent
  out.  Any way I can do this?
 
  Thanks,
 
  Dennis St. John
  PC1, Inc.
 
 
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Cameron Childress

 Make sense?  Any suggestions?

Yes, and yes.

First, are you 100% sure that your domain hasn't been added to AOL's list of
spamming domains?  If that is the case, it's not going to matter how you
send them out.  If you send a message from that domain to AOL.com using
outlook does it also bounce?

Also, legend has it that some ISP's have been known to block CFMAIL
generated mail if it contains the X-Mailer: Allaire ColdFusion header.
What version of CF are you using?  I don't think the newer versin do this
anymore.

I seriously doubt it's the rate you are sending the messages that's causing
your problem.  If you want to slow down your outbound mail a little bit, you
can change the reg key at HLM  Software
 Allaire  ColdFusion  CurrentVersion  Server  SpoolerInterval to a
higher value.  The number in this key is the amount of time (in seconds)
that CF waits before sending a batch of 100 email messages to the SMTP
server.  Increase it to 120 and it will forward 100 messages every two
minutes.

What exactly do the bounced mails say?  There should be a reason listed in
the bounce message.

-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: DSJ / PC1, Inc. [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 2:10 PM
 To: CF-Talk
 Subject: RE: Throttling CFMAIL


 Ok Cameron.  Here's the deal.

 I run the web site for ColoradoRunner.com.  On that web site, you will
 notice that we collect e-mail addresses from those that opt to give it to
 us, in the form of an e-mail collection box on the home page, as
 well as the
 contest for the free shoe give away each and every week.

 Anyways, we currently have about 7,000 opt-in e-mail addresses in our
 database, which we send out bi-weekly (or so) e-mails to, through a custom
 CF app I've written.  Well, each time we send out a mailing, ALL 1,500
 aol.com e-mails get returned to us.  I believe it's because the
 aol.com mail
 servers think that we are spamming them (which we are not).  So,
 my thinking
 is that if we stagger the outgoing mail, the aol.com mail servers may let
 the mail through.  Everyone else using other ISP's gets the mailing fine.

 Make sense?  Any suggestions?

 Thanks!

 Dennis

  -Original Message-
  From: Cameron Childress [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 30, 2001 11:56 AM
  To: CF-Talk
  Subject: RE: Throttling CFMAIL
 
 
   cf_sleep in the tag gallery
 
  Using CF_Sleep to pause 30 seconds 1000 times is probably not a
 very good
  idea.  You'd be tying up a CF thread for 500 minutes, and CF
  would probably
  kill the thread way before the timeout was reached.
 
  I'm not exactly sure why you would want spend 8 hours and 20
  minutes sending
  out 1000 messages.
 
  Maybe you could enlighten us as to the reason you think you need
  to do this?
  There might be a better solution than slowing CFMAIL down.
 
  As your question stands, I would say you best bet would
 probably be to set
  up a scheduled event that runs every 30 seconds, sending out one
  email each
  time.  Again, why one would do this escapes me.
 
  -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: Gary Kraeger [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, August 30, 2001 1:49 PM
   To: CF-Talk
   Subject: Re: Throttling CFMAIL
  
  
   cf_sleep in the tag gallery
  
   Gary
   cfdev.com
   http://www.cfdev.com
   - Original Message -
   From: DSJ / PC1, Inc. [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Thursday, August 30, 2001 1:23 PM
   Subject: Throttling CFMAIL
  
  
Does anyone know how I would be able to throttle a batch of cfmail
processes?
   
For instance, let's say I've got a database of 1000 e-mail addresses
   (opt-in
of course), and I want to wait 30 seconds between each one that
   get's sent
out.  Any way I can do this?
   
Thanks,
   
Dennis St. John
PC1, Inc.
   
   
   
  
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Cameron Childress

 Also, if you don't have CF_ResendUndeliverableMail3 running on 
 your server, you should. 

What an awesome tag!  :)

-Cameron


Cameron Childress
elliptIQ Inc.
p.770.460.1035.232
f.770.460.0963
--
http://www.neighborware.com
America's Leading Community Network Software

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Throttling CFMAIL

2001-08-30 Thread Howie Hamlin

There could be several reasons for AOL returning the mail and I don't think throttling 
them will help at all.  One thing that AOL
has recently implemented is bouncing mail from servers without a proper RDNS.  So, I 
would check to see what the reasons for the
bounces are and try to rectify the problem.

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
Join the DevCon community at www.coolfusion.com/devcon

- Original Message -
From: DSJ / PC1, Inc. [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 2:10 PM
Subject: RE: Throttling CFMAIL


 Ok Cameron.  Here's the deal.

 I run the web site for ColoradoRunner.com.  On that web site, you will
 notice that we collect e-mail addresses from those that opt to give it to
 us, in the form of an e-mail collection box on the home page, as well as the
 contest for the free shoe give away each and every week.

 Anyways, we currently have about 7,000 opt-in e-mail addresses in our
 database, which we send out bi-weekly (or so) e-mails to, through a custom
 CF app I've written.  Well, each time we send out a mailing, ALL 1,500
 aol.com e-mails get returned to us.  I believe it's because the aol.com mail
 servers think that we are spamming them (which we are not).  So, my thinking
 is that if we stagger the outgoing mail, the aol.com mail servers may let
 the mail through.  Everyone else using other ISP's gets the mailing fine.

 Make sense?  Any suggestions?

 Thanks!

 Dennis

  -Original Message-
  From: Cameron Childress [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 30, 2001 11:56 AM
  To: CF-Talk
  Subject: RE: Throttling CFMAIL
 
 
   cf_sleep in the tag gallery
 
  Using CF_Sleep to pause 30 seconds 1000 times is probably not a very good
  idea.  You'd be tying up a CF thread for 500 minutes, and CF
  would probably
  kill the thread way before the timeout was reached.
 
  I'm not exactly sure why you would want spend 8 hours and 20
  minutes sending
  out 1000 messages.
 
  Maybe you could enlighten us as to the reason you think you need
  to do this?
  There might be a better solution than slowing CFMAIL down.
 
  As your question stands, I would say you best bet would probably be to set
  up a scheduled event that runs every 30 seconds, sending out one
  email each
  time.  Again, why one would do this escapes me.
 
  -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: Gary Kraeger [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, August 30, 2001 1:49 PM
   To: CF-Talk
   Subject: Re: Throttling CFMAIL
  
  
   cf_sleep in the tag gallery
  
   Gary
   cfdev.com
   http://www.cfdev.com
   - Original Message -
   From: DSJ / PC1, Inc. [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Thursday, August 30, 2001 1:23 PM
   Subject: Throttling CFMAIL
  
  
Does anyone know how I would be able to throttle a batch of cfmail
processes?
   
For instance, let's say I've got a database of 1000 e-mail addresses
   (opt-in
of course), and I want to wait 30 seconds between each one that
   get's sent
out.  Any way I can do this?
   
Thanks,
   
Dennis St. John
PC1, Inc.
   
   
   
  
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Throttling CFMAIL

2001-08-30 Thread webmaster

We had the same problem at www.ontvstore.com with AOL to get around it I
sort the list by the the email address - that seems to stop the bunching
of aol address's and it seems to work fine.

Richard
- Original Message -
From: DSJ / PC1, Inc. [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 11:10 AM
Subject: RE: Throttling CFMAIL


 Ok Cameron.  Here's the deal.

 I run the web site for ColoradoRunner.com.  On that web site, you will
 notice that we collect e-mail addresses from those that opt to give it to
 us, in the form of an e-mail collection box on the home page, as well as
the
 contest for the free shoe give away each and every week.

 Anyways, we currently have about 7,000 opt-in e-mail addresses in our
 database, which we send out bi-weekly (or so) e-mails to, through a custom
 CF app I've written.  Well, each time we send out a mailing, ALL 1,500
 aol.com e-mails get returned to us.  I believe it's because the aol.com
mail
 servers think that we are spamming them (which we are not).  So, my
thinking
 is that if we stagger the outgoing mail, the aol.com mail servers may let
 the mail through.  Everyone else using other ISP's gets the mailing fine.

 Make sense?  Any suggestions?

 Thanks!

 Dennis

  -Original Message-
  From: Cameron Childress [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 30, 2001 11:56 AM
  To: CF-Talk
  Subject: RE: Throttling CFMAIL
 
 
   cf_sleep in the tag gallery
 
  Using CF_Sleep to pause 30 seconds 1000 times is probably not a very
good
  idea.  You'd be tying up a CF thread for 500 minutes, and CF
  would probably
  kill the thread way before the timeout was reached.
 
  I'm not exactly sure why you would want spend 8 hours and 20
  minutes sending
  out 1000 messages.
 
  Maybe you could enlighten us as to the reason you think you need
  to do this?
  There might be a better solution than slowing CFMAIL down.
 
  As your question stands, I would say you best bet would probably be to
set
  up a scheduled event that runs every 30 seconds, sending out one
  email each
  time.  Again, why one would do this escapes me.
 
  -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: Gary Kraeger [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, August 30, 2001 1:49 PM
   To: CF-Talk
   Subject: Re: Throttling CFMAIL
  
  
   cf_sleep in the tag gallery
  
   Gary
   cfdev.com
   http://www.cfdev.com
   - Original Message -
   From: DSJ / PC1, Inc. [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Thursday, August 30, 2001 1:23 PM
   Subject: Throttling CFMAIL
  
  
Does anyone know how I would be able to throttle a batch of cfmail
processes?
   
For instance, let's say I've got a database of 1000 e-mail addresses
   (opt-in
of course), and I want to wait 30 seconds between each one that
   get's sent
out.  Any way I can do this?
   
Thanks,
   
Dennis St. John
PC1, Inc.
   
   
   
  
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Throttling CFMAIL

2001-08-30 Thread tom muck

If you are having a problem with AOL, you should contact their support
lines.  Usually it has to do with a DNS issue with your mail server.  AOL
doesn't allow emails to come in that have problems with DNS or reverse DNS
lookup because of all the spam they get.  We had the same problem and it
turned out to be a problem with a reverse DNS lookup on our mail server
domain.  Now we send thousands of billing statements to AOL customers with
no problems.

tom

DSJ / PC1, Inc. [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Ok Cameron.  Here's the deal.

 I run the web site for ColoradoRunner.com.  On that web site, you will
 notice that we collect e-mail addresses from those that opt to give it to
 us, in the form of an e-mail collection box on the home page, as well as
the
 contest for the free shoe give away each and every week.




~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Throttling CFMAIL

2001-08-30 Thread Howie Hamlin

AOL would definitely reject a single mail with 1500 recipients...

Howie

- Original Message - 
From: Carlisle, Eric [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 2:20 PM
Subject: RE: Throttling CFMAIL


 Dunno if this would work.  Just a thought.  Put all 1500 addresses in the
 BCC field of one message (will BCC handle that?).  Give the work to AOL's
 server.  
 
 *shrug*
 EC
 
 


~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread DSJ / PC1, Inc.

  Make sense?  Any suggestions?

 Yes, and yes.

 First, are you 100% sure that your domain hasn't been added to
 AOL's list of
 spamming domains?  If that is the case, it's not going to matter how you
 send them out.  If you send a message from that domain to AOL.com using
 outlook does it also bounce?

I am pretty sure our domain hasn't been added to any list of spamming
domains filter over at aol.  Here's why:  We have a test list setup in our
mail sending admin app, with a couple of aol.com e-mail addresses which we
have access to.  Whenever we send out the initial test mailing to make
sure everything looks ok, we do receive those e-mails in our aol.com inbox.
I am also able to send e-mail from my personal Outlook inbox to my aol.com
account using the same mail server no problem.  So, this is the reason that
I believe aol.com has a filter up that says, Don't accept over X number of
e-mails in a certain time period from a given smtp server.


 Also, legend has it that some ISP's have been known to block CFMAIL
 generated mail if it contains the X-Mailer: Allaire ColdFusion header.
 What version of CF are you using?  I don't think the newer versin do this
 anymore.

I am using CF 4.51 Enterprise.  Any idea how to take out this header?


 I seriously doubt it's the rate you are sending the messages
 that's causing
 your problem.  If you want to slow down your outbound mail a
 little bit, you
 can change the reg key at HLM  Software
  Allaire  ColdFusion  CurrentVersion  Server  SpoolerInterval to a
 higher value.  The number in this key is the amount of time (in seconds)
 that CF waits before sending a batch of 100 email messages to the SMTP
 server.  Increase it to 120 and it will forward 100 messages every two
 minutes.

I did not know about this reg setting, but will certainly give it a try on
our next mailing.


 What exactly do the bounced mails say?  There should be a reason listed in
 the bounce message.

Yes, here's an example of one:

This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

   [EMAIL PROTECTED]

This is the return message that I am getting from my SMTP server (the SMTP
server included in IIS5 for Win 2000).

Thanks for all your insight and help!

Dennis


 -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: DSJ / PC1, Inc. [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 30, 2001 2:10 PM
  To: CF-Talk
  Subject: RE: Throttling CFMAIL
 
 
  Ok Cameron.  Here's the deal.
 
  I run the web site for ColoradoRunner.com.  On that web site, you will
  notice that we collect e-mail addresses from those that opt to
 give it to
  us, in the form of an e-mail collection box on the home page, as
  well as the
  contest for the free shoe give away each and every week.
 
  Anyways, we currently have about 7,000 opt-in e-mail addresses in our
  database, which we send out bi-weekly (or so) e-mails to,
 through a custom
  CF app I've written.  Well, each time we send out a mailing, ALL 1,500
  aol.com e-mails get returned to us.  I believe it's because the
  aol.com mail
  servers think that we are spamming them (which we are not).  So,
  my thinking
  is that if we stagger the outgoing mail, the aol.com mail
 servers may let
  the mail through.  Everyone else using other ISP's gets the
 mailing fine.
 
  Make sense?  Any suggestions?
 
  Thanks!
 
  Dennis
 
   -Original Message-
   From: Cameron Childress [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, August 30, 2001 11:56 AM
   To: CF-Talk
   Subject: RE: Throttling CFMAIL
  
  
cf_sleep in the tag gallery
  
   Using CF_Sleep to pause 30 seconds 1000 times is probably not a
  very good
   idea.  You'd be tying up a CF thread for 500 minutes, and CF
   would probably
   kill the thread way before the timeout was reached.
  
   I'm not exactly sure why you would want spend 8 hours and 20
   minutes sending
   out 1000 messages.
  
   Maybe you could enlighten us as to the reason you think you need
   to do this?
   There might be a better solution than slowing CFMAIL down.
  
   As your question stands, I would say you best bet would
  probably be to set
   up a scheduled event that runs every 30 seconds, sending out one
   email each
   time.  Again, why one would do this escapes me.
  
   -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: Gary Kraeger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 1:49 PM
To: CF-Talk
Subject: Re: Throttling CFMAIL
   
   
cf_sleep in the tag gallery
   
Gary
cfdev.com
http://www.cfdev.com
- Original Message

RE: Throttling CFMAIL

2001-08-30 Thread DSJ / PC1, Inc.

What exactly does this tag do?

Dennis

 -Original Message-
 From: Cameron Childress [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 12:30 PM
 To: CF-Talk
 Subject: RE: Throttling CFMAIL
 
 
  Also, if you don't have CF_ResendUndeliverableMail3 running on 
  your server, you should. 
 
 What an awesome tag!  :)
 
 -Cameron
 
 
 Cameron Childress
 elliptIQ Inc.
 p.770.460.1035.232
 f.770.460.0963
 --
 http://www.neighborware.com
 America's Leading Community Network Software
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Tony Gruen

Oh boy - never seen this tag (CF_ResendUndeliverableMail3). I have searched
the dev exchange with no results. Could you please advise me where to find
it? This is exactly what we need.

Tony Gruen


-Original Message-
From: Cameron Childress [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 11:30 AM
To: CF-Talk
Subject: RE: Throttling CFMAIL


 Also, if you don't have CF_ResendUndeliverableMail3 running on
 your server, you should.

What an awesome tag!  :)

-Cameron


Cameron Childress
elliptIQ Inc.
p.770.460.1035.232
f.770.460.0963
--
http://www.neighborware.com
America's Leading Community Network Software
~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread DSJ / PC1, Inc.

Thanks Tom.  This does make sense, since my current mail server doesn't have
a RDNS setup at the current time.  It will shortly though... guaranteed.

I'll keep the list posted as to whether this works or not.

Thanks!

Dennis

 -Original Message-
 From: tom muck [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 12:49 PM
 To: CF-Talk
 Subject: Re: Throttling CFMAIL


 If you are having a problem with AOL, you should contact their support
 lines.  Usually it has to do with a DNS issue with your mail server.  AOL
 doesn't allow emails to come in that have problems with DNS or reverse DNS
 lookup because of all the spam they get.  We had the same problem and it
 turned out to be a problem with a reverse DNS lookup on our mail server
 domain.  Now we send thousands of billing statements to AOL customers with
 no problems.

 tom

 DSJ / PC1, Inc. [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Ok Cameron.  Here's the deal.
 
  I run the web site for ColoradoRunner.com.  On that web site, you will
  notice that we collect e-mail addresses from those that opt to
 give it to
  us, in the form of an e-mail collection box on the home page, as well as
 the
  contest for the free shoe give away each and every week.





~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Matt Robertson

If you pump out too much mail too fast via CFMAIL, CF dumps it into the 
c:\CFUSION\UNDELIVR folder.

This tag moves that mail right back into c:\cfusion\mail, so CF can try again (and 
again etc.).  There are a few options,but thats the gist of it.

--Matt--

-- Original Message --
from: DSJ / PC1, Inc. [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Thu, 30 Aug 2001 13:14:08 -0600

What exactly does this tag do?

Dennis

 -Original Message-
 From: Cameron Childress [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 12:30 PM
 To: CF-Talk
 Subject: RE: Throttling CFMAIL
 
 
  Also, if you don't have CF_ResendUndeliverableMail3 running on 
  your server, you should. 
 
 What an awesome tag!  :)
 
 -Cameron
 
 
 Cameron Childress
 elliptIQ Inc.
 p.770.460.1035.232
 f.770.460.0963
 --
 http://www.neighborware.com
 America's Leading Community Network Software
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Matt Robertson

Oops and duh.  Named those folders both wrong in previous post.

c:\cfusion\mail\undelivr

and

c:\cfusion\mail\spool

--Matt--
 
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Tom Forbes

The link below doesn't work for me, and a search of 
CF_ResendUndeliverableMail3 in the Developer Gallery turns up nothing.

Is this a joke? The tag sounds too good to be true. Any ideas?

Tom



At 03:36 PM 8/30/01, you wrote:
Found it - google returned the dev forum link.

http://devex.allaire.com/developer/gallery/info.cfm?ID=05D90D06-6C6B-11D5-83
F100508B94F85A

Tony

-Original Message-
From: Cameron Childress [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 11:30 AM
To: CF-Talk
Subject: RE: Throttling CFMAIL


  Also, if you don't have CF_ResendUndeliverableMail3 running on
  your server, you should.

What an awesome tag!  :)

-Cameron


Cameron Childress
elliptIQ Inc.
p.770.460.1035.232
f.770.460.0963
--
http://www.neighborware.com
America's Leading Community Network Software

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Tom Forbes

FALSE ALARM - I found it - Thanks!

Tom


At 03:36 PM 8/30/01, you wrote:
Found it - google returned the dev forum link.

http://devex.allaire.com/developer/gallery/info.cfm?ID=05D90D06-6C6B-11D5-83
F100508B94F85A

Tony

-Original Message-
From: Cameron Childress [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 11:30 AM
To: CF-Talk
Subject: RE: Throttling CFMAIL


  Also, if you don't have CF_ResendUndeliverableMail3 running on
  your server, you should.

What an awesome tag!  :)

-Cameron


Cameron Childress
elliptIQ Inc.
p.770.460.1035.232
f.770.460.0963
--
http://www.neighborware.com
America's Leading Community Network Software

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread Cameron Childress

 This tag moves that mail right back into c:\cfusion\mail, so CF
 can try again (and again etc.).  There are a few options,but
 thats the gist of it.

To me, the biggest advantage of CF_ResendUndeliverableMail3 is being able to
specify a list of alternate SMTP servers to try in case your mail's not
being delivered due to a failure to on your primary mail machine.

-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: Matt Robertson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 4:03 PM
 To: CF-Talk
 Subject: RE: Throttling CFMAIL


 If you pump out too much mail too fast via CFMAIL, CF dumps it
 into the c:\CFUSION\UNDELIVR folder.

 This tag moves that mail right back into c:\cfusion\mail, so CF
 can try again (and again etc.).  There are a few options,but
 thats the gist of it.

 --Matt--

 -- Original Message --
 from: DSJ / PC1, Inc. [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 date: Thu, 30 Aug 2001 13:14:08 -0600

 What exactly does this tag do?

 Dennis

  -Original Message-
  From: Cameron Childress [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 30, 2001 12:30 PM
  To: CF-Talk
  Subject: RE: Throttling CFMAIL
 
 
   Also, if you don't have CF_ResendUndeliverableMail3 running on
   your server, you should.
 
  What an awesome tag!  :)
 
  -Cameron
 
  
  Cameron Childress
  elliptIQ Inc.
  p.770.460.1035.232
  f.770.460.0963
  --
  http://www.neighborware.com
  America's Leading Community Network Software
 
 

~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Throttling CFMAIL

2001-08-30 Thread lsellers

At 04:27 PM 8/30/2001 -0400, you wrote:
The link below doesn't work for me, and a search of
CF_ResendUndeliverableMail3 in the Developer Gallery turns up nothing.

Is this a joke? The tag sounds too good to be true. Any ideas?

No, the theory definitely works. Or used pre-5. I don't know about 5.

Used to do the same thing for a mailing list script I wrote.

--min


~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists