Koozali.org: home of the SME Server

Formmail.pl

Richard

Formmail.pl
« on: February 10, 2001, 06:16:22 AM »
I'm sure you've heard of Matt Wright's formmail script for processing forms.
I'd like to know what I need to do to make my sendmail program work, or qmail.

When I go to prodess the form I get the following:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@whitney.home and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Maybe I should post this in the other forum, but I trust I will get better answers here

Many thanks

zac

Re: Formmail.pl
« Reply #1 on: February 10, 2001, 09:29:04 AM »
richard,

a few things could have caused this, so i'm not quite sure what exactly is happening. however, i'm running the same thing on my box, so i'll tell you how i've got it set up:

i'll assume for the purposes of this that you're trying to run the script from the 'primary' directory, and not one of the ibays.

put the script in the /home/e-smith/files/primary/cgi-bin directory, set it up according to the documentation that came with the script and make sure that you have execute permissions on the file (try chmod 755 FormMail.pl).

also make sure that you are calling it correctly from the web page.

if you still can't get it working, e-mail me and we'll try and get it sorted.

zac

dirk-Jan

Re: Formmail.pl
« Reply #2 on: April 19, 2001, 03:57:23 AM »
I've got the same problem. Even with all the security setting right, i still can't use the command sendmail in any cgi-script.
All the script ask for:

$mailprog = "/usr/sbin/sendmail"; # path to sendmail
$recipient = "me@mydomain.com";    # your email address

It seems right but i always get an error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.....More information about this error may be available in the server error log.

Can you help me?

Richard

Re: Formmail.pl
« Reply #3 on: April 19, 2001, 08:53:25 AM »
I've discovered something better and easier to use than formmail.pl

Send me an e-mail (x@hogz.com) and I'll forward formmail.php to you.

Cheers

Richard

Re: Formmail.pl
« Reply #4 on: April 19, 2001, 09:09:13 PM »
http://www.boaddrink.com/projects/phpformmail/

Paste this and download formmail.php!

It's free!