in reply to Saving parameters before sending to 3rd party

You don't mention how things are being sent to the third party ....

I'm thinking along the same lines as TomDLux .... unless I'm missing something, couldn't you write the info you send to the third party to a (log) file?

Typically (in my situations), someone "submits" from a form, and the output is emailed to the third party, and the event (and any info needed) is written to a file...

in the script, there's something like:

open(MAIL,"|$mailprog -t"); . . print MAIL $q->param('WHATEVER'),"\n";
(you get the idea) .. and then needed info is written to a file ...
open (LOGFILE,">>$logfile") || die "NFG $logfile!\n"; . . . print LOGFILE $q->param('WHATEVER')."\n";
In fact, I think I have a script somewhere that prints the same content to file that is sent via email to the third party, using a loop.

Hell, if your emailing the output to the third party, you could BCC yourself ... but again, you don't mention how you're sending the info to the thrid party, so it's tough to tell if the solution could be *that* siumple.

Maybe I'm missing something ?? , but this appears to be question simple enough that even *I* have offered a response ;)