Reply to: Innovative Truck Products
      Re: [IMail Forum] imailsrv2.pl & IIS5 Problem on Tuesday 4:58:18 PM

These never have worked well. Use free qmailer and lmailer:

http://www.dolist.net/qmailer.asp

Here is a typical form, which is even similar to ASP and FP:

<form ACTION="http://208.45.107.150/scripts/lmailer.exe"; METHOD="GET">
<input type=hidden Name="SmtpServer" VALUE="io.wyndows.com">
<input type=hidden Name="Subject" VALUE="Subscribe Activator(tm) Desk News">
<input type=hidden Name="Url" VALUE="http://www.safewin.com/thankyou.htm";>
<input type=hidden Name="Recipient" VALUE="[EMAIL PROTECTED]">
<input type=hidden Name="CMD0" VALUE="subscribe" >
<input type=hidden Name="CMD1" VALUE="actnews">
<br>enter your email address:<br><input NAME="Sender" VALUE="" size=60  maxlength=50>
<br>enter your full name:<br><input NAME="CMD2" VALUE="" size=60  maxlength=50>
<br><br>
<input TYPE="SUBMIT" VALUE="subscribe to email newsletter">
</form>


--
Roger Heath
[EMAIL PROTECTED]
www.rleeheath.com


----- Copy of Original Message(s): -----

I> Michael,

I> More info...

I> I copied the contents of imailsrv.pl into a new file "test2.pl" and switched the 
form code in the "mailing-lists.htm" to see if there was some problem with the .pl 
file itself.  It still failed. 
I> I then tried to directly open the test2.pl in my browser and it told me:

I> Error!

I> Your e-mail address was bad! Use your browsers back button to correct.

I> This tells me that the .pl file is running.

I> Now, imailsrv.pl uses cgi.pm, which I found in my d:\perl\lib directory.  My next 
question is:  is cgi.pm automatically "installed" when I install PERL, or do I need to 
do something so that PERL
I> knows where it is?  As you can tell, I know a little about PERL, but not much.

I> Basically, I'm wondering if it's failing because it can't find or use cgi.pm.

I> Dennis Schroeder
I> Innovative Truck Products
I> [EMAIL PROTECTED]
I> www.innovative-truck-products.com


I>   ----- Original Message ----- 
I>   From: Michael Lauritzen 
I>   To: [EMAIL PROTECTED] 
I>   Sent: Tuesday, February 04, 2003 3:29 PM
I>   Subject: RE: [IMail Forum] imailsrv2.pl & IIS5 Problem


I>   Well, you can make sure that the path to the .pl is correct. Sometimes changing 
../ ot just / or even ./ will work. Don't ask me why but it is just what I have found. 
The other is to make sure
I> all of the hidden fields are correct.
I>     -----Original Message-----
I>     From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative Truck Products
I>     Sent: Tuesday, February 04, 2003 3:33 PM
I>     To: [EMAIL PROTECTED]
I>     Subject: Re: [IMail Forum] imailsrv2.pl & IIS5 Problem


I>     Michael,

I>     The extension doesn't seem to matter.  I changed the file "mailing-lists.htm" 
back to .html and it does the same thing.  I'm currently using the early version that 
doesn't do the e-mail
I> verification, just to simplify things.  It fails on SUBMIT to the .pl...and it 
looks to me like it can't find the .pl file...but it's there???

I>     Dennis Schroeder
I>     Innovative Truck Products
I>     [EMAIL PROTECTED]
I>     www.innovative-truck-products.com


I>       ----- Original Message ----- 
I>       From: Michael Lauritzen 
I>       To: [EMAIL PROTECTED] 
I>       Sent: Tuesday, February 04, 2003 1:18 PM
I>       Subject: RE: [IMail Forum] imailsrv2.pl & IIS5 Problem


I>       I think I know your problem. It is looking for .html files and you have .htm. 
Take a look at the file exts on your server after you uploaded it.

I>         -----Original Message-----
I>         From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative Truck Products
I>         Sent: Tuesday, February 04, 2003 3:05 PM
I>         To: [EMAIL PROTECTED]
I>         Subject: Re: [IMail Forum] imailsrv2.pl & IIS5 Problem


I>         Yes, I used a script similar to that from Microsofts website.  Executed it 
from the same directory as follows:

I>         http://../cgi/test.pl?

I>         Don't click the link, the file isn't there anymore.  The script ran fine 
though.

I>         Dennis Schroeder
I>         Innovative Truck Products
I>         [EMAIL PROTECTED]
I>         www.innovative-truck-products.com


I>           ----- Original Message ----- 
I>           From: Michael Lauritzen 
I>           To: [EMAIL PROTECTED] 
I>           Sent: Tuesday, February 04, 2003 11:22 AM
I>           Subject: RE: [IMail Forum] imailsrv2.pl & IIS5 Problem


I>           do any .pl scripts run on the server for example


I>           can you save this to a .pl file and execute it

I>           print "HTTP/1.0 200 OK\n";
I>           print "Content-Type: text/html\n\n";
I>           print "<HTML>\n";
I>           print "<HEAD>\n";
I>           print "<TITLE>Hello World</TITLE>\n";
I>           print "</HEAD>\n";
I>           print "<BODY>\n";print "<H4>Hello World</H4>\n";
I>           print "<P>\n";
I>           print "Your IP Address is $ENV{REMOTE_ADDR}.\n";
I>           print "<P>";
I>           print "<H5>Have a nice day</H5>\n";
I>           print "</BODY>\n";print "</HTML>\n"; 



I>             -----Original Message-----
I>             From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative Truck Products
I>             Sent: Tuesday, February 04, 2003 1:05 PM
I>             To: [EMAIL PROTECTED]
I>             Subject: Re: [IMail Forum] imailsrv2.pl & IIS5 Problem


I>             IMail web is on the standard 8383 and IIS is on 80.

I>             Dennis Schroeder
I>             Innovative Truck Products
I>             [EMAIL PROTECTED]
I>             www.innovative-truck-products.com


I>               ----- Original Message ----- 
I>               From: Michael Lauritzen 
I>               To: [EMAIL PROTECTED] 
I>               Sent: Tuesday, February 04, 2003 11:00 AM
I>               Subject: RE: [IMail Forum] imailsrv2.pl & IIS5 Problem


I>               What port are you running the web server and what port are you 
running Imail web messaging? The two can't run on the same port.
I>                 -----Original Message-----
I>                 From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Innovative Truck Products
I>                 Sent: Tuesday, February 04, 2003 12:51 PM
I>                 To: [EMAIL PROTECTED]
I>                 Subject: [IMail Forum] imailsrv2.pl & IIS5 Problem


I>                 I have a Win2k Server running IIS 5.

I>                 I've installed the latest ActivePERL and I can see where it was 
configured in IIS.

I>                 I have downloaded the imailsrv2.zip file and put the files in their 
correct locations.

I>                 I have run the "imailcgi -install..." successfully.

I>                 I have edited the .html file.

I>                 When I bring up the html file and click submit, the screen changes 
to a 404 Page Not Found error.  The address line is referring to:

I>                     http://www.innovative-truck-products.com/cgi/imailsrv2.pl

I>                 This is the correct path to the script.  I have enabled "script 
source access".

I>                 Why would this come up "not found"???

I>                 Dennis

--
ActivatorMail(tm) ver.122102 Scanned for all viruses by 
www.activatormail.com intelligent anti-virus anti-spam service


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to