CGIEMAIL Error Message

Asked by:
NathanKress / 8 Points
Time:
2013-02-08 4:06 am EST
Category:
Send Email From A Page
Hits:
2,026
<p>Hi, I'm trying to set up cgiemail so I can put a form on my site and have it send an email. I used the link below to find my uploaded file but got the error message below. I also tried cgi-bin/cgiecho and www/cgi-bin but none worked. Can you send me an example of what the URL should look like for this to work? I just tried it about 5 minutes ago. Thanks. http://www.nathankressmusic.com/cgi-bin/EmailTemplate.txt Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@nathankressmusic.com 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. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p>

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

arnelc
Staff
17,314 Points
2013-02-08 5:49 am EST
Hello Nathan, I believe the problem is that you're using the form incorrectly. You need to actually create an HTML page and then post to data to CGImail. Use this link - it explains the steps that you need to take make the CGImail form work: CGIEmail User Guide

You don't make a link directly to the TXT file like you posted above. The HTML source (as per the guide) would reference the txt file using a post command as per below:

< FORM METHOD="POST"
ACTION="http://nathankressmusic.com/cgi-bin/EmailTemplate.txt">

Your e-mail address: < INPUT NAME="email">< p>
Your name: < INPUT NAME="yourname">< p>
Your quest: < INPUT NAME="quest">< p>
Your favourite colour: < INPUT NAME="colour">< p>
< INPUT TYPE="submit" value="Send e-mail">
< /FORM>

Note: I spaced the code above so that you could see it in this post. The file can't be directly accessed to open the text file because the CGI-BIN area is for running scripts. I copied the file into your public_html folder and you can see the file open there with no problem. Hope this helps! If you're still having issues with it after reviewing the documentation, please let us know! If you have any further questions, please contact technical support or leave a comment at the bottom of the page. Regards, Arnel C.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}