Cgiemail Help

windows

Guest
Hi<br />I'm trying to add a very basic and simple email form to a site and for some reason I'm getting the 500 Internal Server Error.<br /><br />I've followed the step by step instructions here <a href="http://web.mit.edu/wwwdev/cgiemail/user.html" target="_blank">http://web.mit.edu/wwwdev/cgiemail/user.html</a> , created my email template, but I still can't get it to work!<br /><br />I have my emailform.txt located in the /public_html directory but have also tried it in other directories /cgi-bin (and others) changing the action each time, with no luck. (I've also used the fill link in my form action="http://www.mysite.com/cgi-bin/cgiecho/emailform.txt")<br /><br />Can someone point me in the right direction? <br /><br />Here's my form:<br /><form method="post" action="/cgi-bin/cgiecho/emailform.txt" enctype="text/plain"><br /><br />Email address: <input type="text" name="email" size="30" maxlength="75" style ="font-size: 10; background-color: #CCCCCC; border: 1px solid #666666;"><br /><br /><input name="Submit" type="submit" value="Submit" class="buttons" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000; background-color: #FFCCFF; " /><br /></form><br /><br />Thanks<br />MK<!--content-->
Hi MK, first of all cgi scripts end in .cgi or .pl and not .txt so that is the first problem.<br /><br />The other problem is the files must be uploaded as text files (ASCII) and their permissions must be changed to executable. Normally 755.<br /><br />Another thing is cgiemail has been disabled on the TCH servers because it was easy for spammers to abuse that script.<br /><br />You are going to have to find another form to email processing script to use.<!--content-->
 
Back
Top