|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > cf_advancedmail Mass mailing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|