CGI to email?

delphi package - automated exception handling
Post Reply
sdf
Posts: 12
Joined: Fri Apr 14, 2006 4:32 pm

CGI to email?

Post by sdf »

I'm tired of dealing with all the corruption various email programs throw onto reports. Does anyone have a script that can accept madExcept reports (including files) and pass them on to my email address? Perl or PHP would work for me.

I wanted to write my own, but I'm not really sure how madExcept is structuring the http posts, and I can't seem to find a script that logs the structure of an http post.
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Basically you can use any script which accepts browser uploads. Such a script should also work with madExcept. I don't have a script at hand which will convert a HTTP upload to a mail. I'm also no script/perl programming expert at all, so I'd have a hard time writing such a script... :?
Arksole Hoax
Posts: 211
Joined: Sat May 08, 2004 11:41 am

Post by Arksole Hoax »

Code: Select all

<?

 echo $_FILES['uploadedfile']['name'];

?>
should give the PHP kick for a uploaded file. The file then
might be processed in any way. Why not search for
"PHP Upload tutorial" ? its kinda easy! The upload (in delphi)
can be done via the Synapse lib.

Have Fun
sdf
Posts: 12
Joined: Fri Apr 14, 2006 4:32 pm

Post by sdf »

Actually, that does look pretty easy. Thanks. :)
Post Reply