I'll play with it a bit, because I'm still curious as to why it didn't work.
Because my other soulution is great for low volumes, but It could be issues
for multiple lists with high volumes.
dustin
----- Original Message -----
From: "Dan Shadix" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 7:23 AM
Subject: RE: [IMail Forum] Who wrote imailsrv2.pl?
> It appears that you don't care anymore, but that error means the script
was
> unable to create the temporary file it needs. The line:
>
> if ( open (BODY,">$temp_file") ) {
>
> says to open the file defined by $temp_file for writing. Since the if is
> evaluating whatever is between the outside pair of () if this open returns
> true it will continue to the next line:
>
> if (-W $temp_file) {
>
> which checks to see if the file is writable. If the open returns false,
the
> original if will skip to the end of the {} pair and continue execution.
>
> else {
> print "<h2>Error!</h2><P>Internal Error 200. Please send mail to the
> webmaster!";
> exit(0);
> } # End ELSE
>
> Since you get the error message, the open must have failed. NOW, why did
it
> fail? We have to look at how $temp_file is created to start.
>
> Line 54 says:
>
> $temp_file = $Temp . "\\su$random_number" . ".txt";
>
> Just above that $random_number is created so now we have to look for
$Temp.
>
> Line 136 is part of the parse_form subroutine and says:
>
> elsif ( $name eq "temp" ) { $Temp = $value; }
>
> $Temp is a parameter passed from the form that calls this script and is
set
> to the value of the temp variable. If you look for a form field named
temp
> in the .html file you'll see that it's a hidden value that should be
changed
> when you set up the form on your server.
>
> SO, why did it fail. Either this value was not set correctly (probably
> because you have to write it like c:\\winnt\\temp instead of just
> c:\winnt\temp) or the script is running as a user without permission to
> write to the temp directory defined.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of dustin krysak
> Sent: Wednesday, January 03, 2001 11:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [IMail Forum] Who wrote imailsrv2.pl?
>
>
> thanks Grant. I know that the perl error 200 is generated by the script
> itself (not perl as a language)... It is in the source..... so I was
hoping
> to ask the author what he had coded this error in to mean. Thanks for the
> help...
>
>
> dustin
>
>
> ----- Original Message -----
> From: "Grant Griffith" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 03, 2001 7:57 PM
> Subject: Re: [IMail Forum] Who wrote imailsrv2.pl?
>
>
> > Hello Dustin,
> >
> > I am not a Perl programmer, but in looking at the file it appears
that
> the program is having problems opening the file for some reason. If I
knew
> Perl better I could help more, but I write everything using VBScript and
> have not taken the time to get familiar with it. Might be something that
> you could ask a Perl Guru about on another list, or maybe someone else on
> this list can help you out.
> >
> > Sorry,
> > Grant
> >
> > ---------- Original Message ----------------------------------
> > From: "dustin krysak" <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > Date: Wed, 3 Jan 2001 17:04:12 -0800
> >
> > >Thanks Grant....
> > >
> > >I had posted my problem here, but no one replied, so I assumed that no
> one
> > >had an answer - so I was looking to go straight to the source. And off
> the
> > >top of my head, I believe ipswitch doesn't support the script.
> > >
> > >Are you using the script right now? Have you ever gotten the Error 200
> > >Internal Error?
> > >
> > > TIA.
> > >
> > > dustin
> > >
> > >
> > >----- Original Message -----
> > >From: "Grant Griffith" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Wednesday, January 03, 2001 11:55 AM
> > >Subject: Re: [IMail Forum] Who wrote imailsrv2.pl?
> > >
> > >
> > >> Dustin,
> > >>
> > >> I beleive IPSwitch created that script. Might want to email
support
> on
> > >any questions on that. Although some of them are members of this list
as
> > >well.
> > >>
> > >> Later,
> > >> Grant
> > >>
> > >>
> > >> ---------- Original Message ----------------------------------
> > >> From: "dustin krysak" <[EMAIL PROTECTED]>
> > >> Reply-To: [EMAIL PROTECTED]
> > >> Date: Wed, 3 Jan 2001 11:32:07 -0800
> > >>
> > >> >Does anyone know who wrote this script? I have a question about
it...
> > >> >
> > >> >thnx
> > >> >
> > >> > d
> > >> >
> > >> >
> > >> >Please visit http://www.ipswitch.com/support/mailing-lists.html
> > >> >to be removed from this list.
> > >> >
> > >> >An Archive of this list is available at:
> > >> >http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> > >> >
> > >>
> > >> Please visit http://www.ipswitch.com/support/mailing-lists.html
> > >> to be removed from this list.
> > >>
> > >> An Archive of this list is available at:
> > >> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> > >>
> > >
> > >
> > >Please visit http://www.ipswitch.com/support/mailing-lists.html
> > >to be removed from this list.
> > >
> > >An Archive of this list is available at:
> > >http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> > >
> >
> > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > to be removed from this list.
> >
> > An Archive of this list is available at:
> > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> >
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/