RE: Script to move email to from undelivr to spool?

2008-11-10 Thread Andy Matthews
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

RE: Script to move email to from undelivr to spool?

2008-11-10 Thread Andy Matthews
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

RE: Script to move email to from undelivr to spool?

2008-11-07 Thread Bobby Hartsfield
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

RE: Script to move email to from undelivr to spool?

2008-11-07 Thread Nick Gleason
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:

Re: Script to move email to from undelivr to spool?

2008-11-05 Thread sachin chawla
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

Re: Script to move email to from undelivr to spool?

2008-11-05 Thread sachin chawla
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

RE: Script to move email to from undelivr to spool?

2008-11-04 Thread Andy Matthews
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

Re: Script to move email to from undelivr to spool?

2008-11-04 Thread Chris Kelly
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

Re: Script to move email to from undelivr to spool?

2008-11-04 Thread Chris Kelly
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

RE: Script to move email to from undelivr to spool?

2008-11-04 Thread Nick Gleason
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:

RE: Script to move email to from undelivr to spool?

2008-11-04 Thread Andy Matthews
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?

Script to move email to from undelivr to spool?

2008-11-03 Thread Nick Gleason
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.

Re: Script to move email to from undelivr to spool?

2008-11-03 Thread Shannon Peevey
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

Re: Script to move email to from undelivr to spool?

2008-11-03 Thread AJ Mercer
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

RE: Script to move email to from undelivr to spool?

2008-11-03 Thread Nick Gleason
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

Re: Script to move email to from undelivr to spool?

2008-11-03 Thread Dave Watts
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