[Last Call] Learn how to a build a cloud-first strategyRegister Now


re: cgiemail

Posted on 2006-05-23
Medium Priority
Last Modified: 2013-12-25
Hi all!

I'm trying to get my cgi email form to work, and have followed the instructions, but to no avail!

Any help would be appreciated.

1. My isp is www.planethosting.com.au
2. My account has a cgiemail script, with the following instructions from http://web.mit.edu/wwwdev/cgiemail/nopath.html
3. I have uploaded email.txt to my public_html and to the following folder cgi-bin
4.email.txt looks like this:

from:                    [email]
To: yasmine@somewhere.tld
Subject: Online Query
Errors-To: yasmine@somewhere.tld

Firstname:               [firstname]
Lastname:                [lastname]
Email:                   [email]
Phone number:            [phone]
Preferred contact mode:  [preferemail][preferphone]
Subject:                 [subject]
Question/Comment:        [comment]

5. My form in 8.htm looks like this:

            <form name="form" method="post" action="http://www.somewhere/cgi-bin/cgiemail/email.txt">
              <table width="100%" border="0" cellpadding="2" cellspacing="2" class="fonts">
                  <td width="23%">Firstname:</td>
                  <td width="77%"><input name="firstname" value=" " type="text" size="45"></td>
                  <td><input name="lastname" value=" " type="text" size="45"></td>
                  <td><input name="email" value=" " type="text" size="45"></td>
                  <td>Verify Email:</td>
                  <td><input name="verifyemail" type="text" id="verifyemail" value=" " size="45"></td>
                  <td>Phone Number:</td>
                  <td><input name="phone" value=" " type="text" size="45"></td>
                  <td>Verify Phone Number:</td>
                  <td><input name="verifyphone" type="text" id="verifyphone" size="45"></td>
                  <td>Preferred Contact Mode:</td>
                  <td><input name="preferemail" type="checkbox" id="preferemail" value="checkbox">
                    <input name="preferphone"type="checkbox" id="preferphone" value="checkbox">
                    Phone </td>
                  <td><input name="subject" type="text" id="subject" size="45"></td>
                  <td align="left" valign="top">Question/Comment:</td>
                  <td><textarea name="comment" value="comment" cols="50" rows="10"></textarea></td>
                  <td><br> <input type="reset" name="reset" value="Reset Form">
                    &nbsp;&nbsp; <input type="submit" name="submit" value="Submit Email">
                    <br> <INPUT TYPE="hidden" NAME="addendum" VALUE="http://www.somewhere.tld/thankyou.htm">

6. When I try to submit an email here: http://www.somewhere.tld/8.htm, the following page displays: http://www.somewhere/cgi-bin/cgiemail/email.txt, with the text: "Cannot find server. The page cannot be displayed. The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings."


Question by:angmine
  • 2

Accepted Solution

Perl_Diver earned 2000 total points
ID: 16743546
invalid domain name in the URL:


needs .com or whatever goes on the end:


Expert Comment

ID: 16743552
the invlaid domain name is here in the forms action attribute:


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses
Course of the Month17 days, 21 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question