Title: Logging Bad Emails
Can I place this cfm page anywhere on the server or does it need to be in a particular directory.

----- Original Message -----

From: Joe Pitera
Sent: Thursday, May 31, 2001 1:11 PM
Subject: [iMS] Logging Bad Emails

Howie,

I am looking to use the example below to log all the information in the following log file.  I have a few questions before I deploy this. 


I know that you have to check the boxes through the config module and restart the service.
 
Does the REPORTSTATUS.CFM file need to be in a particular directory or does IMS find it automatically?
 

It goes in the same directory as the rest of the iMS templates (default is <installed dir>\Domains).


And am I on the right page? 
 

Yes, this looks OK to me (you may want to have a CFTRY/CATCH in there, though.

 

Regards,

 

Howie


<cfif Len(form.deliveredList)>
<cffile action="append"
  file="f:\webpages\ims_failures.log"
  output="POSTSTATUS: DeliveredList=#form.deliveredlist# #dateformat(now(), 'MMM-DD-YYYY')# at #timeformat(now(), 'HH:MMtt')# (EST)">

</cfif>

Thanks,

Joe

Reply via email to