CGIEMAIL Error Message

Asked by:
NathanKress / 8 Points
Time:
2013-02-07 8:06 pm EST
Category:
Send Email From A Page
Hits:
1,700
<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
9,313 Points
2013-02-07 9:49 pm 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?

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 633
What is the Heartbleed bug?
1969-12-31 11:00 am EST
Hits: 261

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!

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.