re: cgiemail

Posted on 2006-05-23
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
2. My account has a cgiemail script, with the following instructions from
3. I have uploaded email.txt to my public_html and to the following folder cgi-bin 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
    LVL 8

    Accepted Solution

    invalid domain name in the URL:


    needs .com or whatever goes on the end:
    LVL 8

    Expert Comment

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


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
    It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
    Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
    The viewer will learn how to count occurrences of each item in an array.

    729 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now