Hi All,
      Just needing help regarding ending a script properly.  I have a script which I 
use basically to send an email consisting of the data entered in a form.  The start 
looks like this..
#!f:\intranet\cgi-bin\bin\perl.exe -w
use CGI ':standard';
use Net::SMTP;

Then I use... 
$objMail=Net::SMTP->new($server);
with all its additions to send the mail.  
The script is called when the user hits the submit button.  This works fine, and the 
email is sent, but it doesnt seem to finish, so the form page sits waiting, so I cant 
have an onUnload javascript event to make a thank you page.  
  Sorry about the long message,
          Thanks for all your help (both past and future!)
                                                              Chris.

Reply via email to