Bobby (and anyone else)...
Undelivrnator gets a list of all files in the undelivr folder. It loops over
the list checking filename and datestamp against a database entry. If it
finds that email filename and datestamp in the db, then it increments the
count for it. If it doesn't find it, it
BTW...I meant we as in Dealerskins.
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2008 8:25 AM
To: cf-talk
Subject: RE: Script to move email to from undelivr to spool?
Bobby (and anyone else)...
Undelivrnator gets a list of all files in
Really? No cfexecute solutions? tsk tsk
cfexecute name=C:\windows\system32\cmd.exe arguments=/c move
C:\coldfusion8\mail\undelivr\* C:\coldfusion8\mail\spool\ /
Just setup a scheduled task to hit a page with that on it as often as you
need.
Of course... you are going to begin to collect emails
Thanks bobby!
Nick
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
I simply use this:
cfdirectory directory=undelivr action=list name=undelivr
cfoutput query=undelivrcffile action=move
destination=spool\#undelivr.name# source=undelivr\#undelivr.name#
/cfoutput
replace undelivr and spool with your actual undelivr and spool
directories. Run as often
Hi Nick try this
cfparam name=directorypath default=C:\CFusionMX7\Mail\Undelivr\
cfdirectory directory=#directorypath# name=myDirectory action=list
cfoutput#myDirectory.RecordCount#/cfoutput
cfif #myDirectory.RecordCount# gt 0
cfoutput query=mydirectory
cfif #type# EQ
My project, the Undelivrnator, can be used for this:
http://undelivrnator.riaforge.org/
Simply set up a scheduled task, a table in the db to use as a monitor, and
you're good to go.
andy
-Original Message-
From: Nick Gleason [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2008
I simply use this:
cfdirectory directory=undelivr action=list name=undelivr
cfoutput query=undelivrcffile action=move
destination=spool\#undelivr.name# source=undelivr\#undelivr.name#
/cfoutput
replace undelivr and spool with your actual undelivr and spool directories. Run
as often as you
I simply use this:
cfdirectory directory=undelivr action=list name=undelivr
cfoutput query=undelivrcffile action=move
destination=spool\#undelivr.name# source=undelivr\#undelivr.name#
/cfoutput
replace undelivr and spool with your actual undelivr and spool directories. Run
as often as you
Paydirt! Thanks for all the feedback!
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 9:31 AM
To: cf-talk
Subject: RE: Script to move email to from undelivr to spool?
My project, the Undelivrnator, can be used for this:
If you decide to use this project, let me know. It'd be nice to hear if
anyone likes it, and finds it useful.
-Original Message-
From: Nick Gleason [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 1:30 PM
To: cf-talk
Subject: RE: Script to move email to from undelivr to spool?
Hi folks,
We need to develop a script that can move mail from the undelivr folder to
the spool folder in CF. My recollection is that there was some talk on this
board a while back about this issue and maybe that a script had been
developed. I checked the archives and riaforge with no luck.
What platform are you on, and what is the criteria needed to move the messages?
Speeves
On 11/3/08, Nick Gleason [EMAIL PROTECTED] wrote:
Hi folks,
We need to develop a script that can move mail from the undelivr folder to
the spool folder in CF. My recollection is that there was some talk
This might give you some ideas
http://www.coldfusionjedi.com/index.cfm/2006/1/16/Yet-another-project--announcing-SpoolMail
you can manage your undelivered emails from within CFIDE
On Mon, Nov 3, 2008 at 10:27 PM, Nick Gleason [EMAIL PROTECTED]wrote:
Hi folks,
We need to develop a script
Shannon,
Hey there. We're on IIS. But I was imagining that this would be a CF file
run by scheduled task once a day or so. However, I'm open to other
approaches as well.
Nick
-Original Message-
From: Shannon Peevey [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2008
Hey there. We're on IIS. But I was imagining that this would be a CF file
run by scheduled task once a day or so. However, I'm open to other
approaches as well.
Why not just write a batch file and schedule that using the Windows
scheduler? That would likely be far more efficient.
Dave
16 matches
Mail list logo