Hi, I'm trying to write a web mail email program and I'm having some trouble
dealing with errors and any help would be greatly appreciated.

This is what my getMail template does:-
-CFPOP's the mail from the server
-Then using CFOUTPUT goes through the returned query and trys to insert the
mails into a database to be read later
-Should an error occur it is caught in a CFCATCH and using CFMAIL, messages
are sent to the postmaster etc

This template is not seen by the user but runs as a scheduled task in the
background. Through out the code though progress messages are sent to the
screen so that if run manually I can see what is happening

What I want to do though is to have the choice of viewing the error
diagnostics in the CFCATCH.

I can get it so that the getMail template halts at the error using the
CFERROR tag and shows the error in a new template but this stops the getMail
template - which is not good because this will stop other mail being
delivered.
What I'd like is to catch the error and then have a link that I can follow,
should I wish, to view the error diagnostics on a seperate page. Even better
would be to view it on the same page but I can't figure this out either

I apologise for this being so verbose but I'm kinda stumped with it. Thank
you in advance for any help

Will

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to