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 ;)


In reply to Re: Saving parameters before sending to 3rd party by Hagbone
in thread Saving parameters before sending to 3rd party by jonnyfolk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.