#!/usr/local/bin/perl5 push (@INC, '/cgi-bin'); require ('cgi-lib.pl'); # This should match the mail program on your system. $mailprog = '/usr/lib/sendmail'; # This should be set to the username or alias that processes the # requests $recipient = "classifieds\@immuneweb.org"; # Print out a content-type for HTTP/1.0 compatibility print "Content-type: text/html\n\n"; # Print a title and initial heading print "Your Payment Has Been Submitted"; &ReadParse; open (MAIL, "|$mailprog $recipient") || die "Unable to send request\nPlease send e-mail to classifieds\@immuneweb.org, Thank you\n"; #open (MAIL, ">test") || die "Cannot open STDOUT: $!\n"; print MAIL "Reply-to: $in{'email'}\n"; print MAIL "Subject: Classified or Banner Ad Payment\n"; print MAIL "\n\n"; #print "*$#in_key\n"; foreach $i (0 .. $#in_key){ #print "$in_key[$i] = $in_val[$i], i = $i

"; print MAIL "$in_key[$i] = $in_val[$i]\n"; } print MAIL "-----------------------------------------------\n"; close (MAIL); print "Thank you for your payment. Your ad will appear within two weeks of us receiving your payment (and your banner, if you submitted a banner ad).

"; print '

Return to the Classifieds Submission Page

'; print '

Return to the Immune Classifieds

'; print '

Return to Immune Home Page

';