Wrap the CFMAIL call in a try/catch block and have a second CFMAIL
afterwards that sends the error if there is one or a success message if it
goes...  After it leaves the ColdFusion server it's pretty much out of your
control.  

Another option is to send it using HTML mail format and set a web bug that
is a pipe gif (<img src="http://myserver/checkmail.cfm";>).  This way you'll
be able to see if they received it or not...

Jeff Garza
Lead Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200
[EMAIL PROTECTED]
http://www.spectrumastro.com



-----Original Message-----
From: Parker, Kevin [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 28, 2002 3:57 PM
To: CF-Talk
Subject: Check if sent


I have a little CF script (CFMAIL tag executed by a scheduled task in CF
Server) running on a box that emails a file to a specified mail box each
day. I also get it to cc me so that I can keep an eye on it working but I
don't want a 500K file choking up my mail box each day. Is there a way I can
validate that its sent and just get some type of validation message.

TIA!


**********

Kevin Parker
Web Services Manager
WorkCover Corporation

[EMAIL PROTECTED]
www.workcover.com

p: 08 82332548
f: 08 82332000
m: 0418 806 166

**********



************************************************************************
This e-mail is intended for the use of the addressee only. It may 
contain information that is protected by legislated confidentiality
and/or is legally privileged. If you are not the intended recipient you
are prohibited from disseminating, distributing or copying this e-mail.

Any opinion expressed in this e-mail may not necessarily be that of the
WorkCover Corporation of South Australia. Although precautions have
been taken, the sender cannot warrant that this e-mail or any files
transmitted with it are free of viruses or any other defect.

If you have received this e-mail in error, please notify the sender
immediately by return e-mail and destroy the original e-mail and any
copies.

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to