Hi, please bear with me as I am a scripting novice.
I have attempted to use the NMS formmail script on 1 and 1 .co.uk linux hosting.
I keep getting error 500 when I test the form.
I know it's something very basic but for the life of me I can't fathom out where I'm going wrong.
1and1 inform me that I should be using the following line
$mailprog = '/usr/sbin/sendmail -t -i';
but the script readme states that it should be
$mailprog = '/usr/lib/sendmail -oi -t';
and I should only be changing the usr/bin/sendmail section
I have uploaded in ASCII and changed permissions to 755
The html reads
<form method="post" action="/cgi-bin/FormMail.pl">
This is what 1and1 instructed. I have done exactly as they have instructed but it still doesn't work. They are being completely unhelpful as per usual.
Is there anyone out there who has solved this problem or can help to stop me from pulling out what little hair I have left.
Nik