🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.perlcgi.freelance
Article #4

how does the formmail work

#4
From: Lacey
Date: Sat, 16 Mar 2002 07:09
38 lines
2206 bytes
hello helpers.
I rent my apache server from a fairly unhelpful company when it comes to cgi
support, so I thought I d ask here.

I made a simple booking  for a business customers to fill in. I made this in
dreamweaver 3 ok no worries.
I uploaded it to the cgi-bin on the server
I downloaded from Matts' script archive the formmail.pl
Is this ok to use with a html inquiry form ? How do the 2 files  "talk to
each" other ?

in the first line of the formmail.pl it says
--------------------
#!/usr/bin/perl
------------------
ok, but do I fill in the usr as my domain and the bin as cgi-bin ?. Im not
sure where the perl application is located, but Ill push on here..

I guessed the next few lines and filled them  in:
----------------------------
$mailprog = 'FormMail.pl';
----------------------------

@referers = ('my_domain_name_goes_here.com');
@recipients = my_admin_account_goes_here@referers;
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');

# Done
#


when I run it on the website, it says not configured...

I chgmod 755 of the formmail.pl file as well..

..any helpers on this one...

thanks
Technical Details
Message-ID: <3c92eeed$0$21920$afc38c87@news.optusnet.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!spool01.syd.optusnet.com.au!spool.optusnet.com.au!210.49.20.122.MISMATCH!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fec76,7a7bc0b6240b7bfa,start
X-Google-Attributes: gidfec76,public
X-Google-Thread: 108c83,7a7bc0b6240b7bfa,start
X-Google-Attributes: gid108c83,public
X-Google-ArrivalTime: 2002-03-15 23:10:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!spool01.syd.optusnet.com.au!spool.optusnet.com.au!210.49.20.122.MISMATCH!not-for-mail
Reply-To: "Lacey" <root@mailhost.com>
From: "Lacey" <here@homer.com>
Newsgroups: alt.comp.perlcgi.freelance,aus.computers
Subject: how does the formmail work
Date: Sat, 16 Mar 2002 18:09:19 +1100
Organization: simpsans
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 40
Message-ID: <3c92eeed$0$21920$afc38c87@news.optusnet.com.au>
NNTP-Posting-Host: 198.142.226.171
X-Trace: 1016262381  21920 198.142.226.171