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
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,
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
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
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
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
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
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
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
-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
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
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
: 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
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
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,
[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
[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
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
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.
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
.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
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
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
]
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
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
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
://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
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
, 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
]]
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
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
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
://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
]]
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
[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
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.
36 matches
Mail list logo