Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SCRIPT for <CFMAIL> Undeliverables

Status
Not open for further replies.

rrogers87

Programmer
Jun 6, 2001
1
US
Any one have a Coldfusion script that will check the mail/undeliverable folder and move any files in there to mail/spool every 15 minutes? Can this be done using Coldfusion or does it have to be done with server scripting (If so, what type of server scripting). Thanks for any help.
 
Use the CFDIRECTORY tag to check for the existence of files in the undelivr directory. Loop through the results (if any) and perform a CFFILE (move) to the spool directory.

Register this template with the CF scheduler, or use AT or an OS-specific scheduler to run the template with CFML.exe.

HTH,
PH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top