> I need to modify CFMAILPARAM below to send me the latest log file. The
> current
> backup log is backup09.log and tomorrow it will be backup10.log and so on.
> What do I need to do?
>
> <CFMAIL FROM="Eagle"
> To=jwatkins
> Subject="Backup Report">
> Greetings from Eagle!
> Backup Report attached to this message
> <CFMAILPARAM FILE="C:\NTBackup\data\backup09.log">
> </CFMAIL>
The obvious answer is
<CFMAILPARAM FILE="C:\NTBackup\data\backup#Counter#.log">
How will you know which backup to email? I presume you'll either keep it in
a database or read it via CFDirectory (very slow when there are loads)
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists