Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

formmail error

Discussion in 'E-mail Discussion' started by spencermjax, May 15, 2004.

  1. spencermjax

    spencermjax Member

    Joined:
    Apr 25, 2004
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    When trying to use my form, I keep getting this error:

    "HTTP 500 - Internal server error
    Internet Explorer "

    I am using the cgiemail. I have posted my code below. any help would be great!!

    text file "general.txt" :

    From:[youremail]
    To: myemail@address.com
    Subject: General Question

    Name? [yourname]
    Email? [youremail]
    Message? [yourmessage]


    My form:

    <FORM METHOD="POST" ACTION="/cgi-bin/cgiemail/general.txt">

    Name <input type="text" name="yourname" value="" style="height:21px; width:163px; font-size:14px " ><br>

    E-mail:
    <input type="text" name="youremail" value="" style="height:21px; width:163px; font-size:14px " ><br>

    Message:
    <textarea style="height:81px; width:163px; font-size:14px " name="yourmessage"></text><br>

    <INPUT TYPE="submit" value="Submit" ALT="Submit Form" width="50" height="20" BORDER="0">

    &nbsp;&nbsp;&nbsp;

    <INPUT TYPE="reset" value="Clear" ALT="Clear Form" width="50" height="20" BORDER="0">
    </FORM>


    Thanks for the help!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,366
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    In the "action" parameter try using the fully qualified domain name then /cgi-bin/......
     
  3. spencermjax

    spencermjax Member

    Joined:
    Apr 25, 2004
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    I tried that and it didn't work. I also tried to upload the file normally, in ASCII format, and Binary format....nothing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,366
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    The action has to call a cgi script not a text file.
     
  5. injenn

    injenn Member

    Joined:
    Feb 3, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    San Diego, California, US
    I'm having the same difficulty and I can't seem to find an answer to this problem. Any other ideas?

    Thanks!
     
  6. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,366
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
  7. injenn

    injenn Member

    Joined:
    Feb 3, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    San Diego, California, US
    edewing-

    Thanks. I'm going to check it out now. I've been up all night trying to resolve the issue, but still no luck from the forums. I'll post my success if I gain any!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice