ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old September 8th, 2004, 06:24 PM
FrozenShade FrozenShade is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 10 FrozenShade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
cf_advancedmail Mass mailing

I've been using a modified version (with cf_advancedmail) of Matt Robertsons cfmail approach to deliver bulk messages to our mailing lists. You can see http://mysecretbase.com/Slowing_Down_CFMAIL.cfm for the complete original article and code. For me this is fantastic - throttled down mail with automaticly attached images and a message to those who don't support HTML.

However, this is a single standalone page and I'm now encountering a client who wants this functionality on their site (done in fuseQ). This poses a small problem when the page refreshes and sends back to itself.

This next segment is the troublesome area (for me) . It re-runs the template automatically at the run rate, with the incremented starting value. The UUID is required to prevent possible caching issues on come browsers

<meta
http-equiv="REFRESH"
content="#variables.RunRate#;
URL=#cgi.script_name#?CurrStart=#variables.NextRun#
&UniqueURL=#UrlEncodedFormat(CreateUUID())#">
</cfoutput>
<head><title>CWC Mass Mailer</title></head>
<body ONLOAD=history.go(1)>


My question - is it possible to pass these values using cflocation to update the url parameters and send back to the display page for reprocessing (until url.CurrStart is greater than the MailList.RecordCount when I would send to a 'mail sent' page. Variables.runrate is the one I can't get my head around along with the ability to prevent caching.

OR, would I just be best to send to this in it's entirety and force the pagename as an additional accepted URL to index.cfm?

All help appreciated
TIA
MarkH

Reply With Quote
  #2  
Old September 8th, 2004, 07:46 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,627 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 8 m 55 sec
Reputation Power: 53
I'm not really following what you are trying to do. But you can append any url values you want to with a cflocation (as part of the query string) and those values will be available in the URL scope on the target page.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > cf_advancedmail Mass mailing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway