SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2008
    0 Post(s)
    0 Thread(s)

    Unhappy formmail cgi problems!! Drive me crazy!

    Ok so this is driving me crazy.
    I am using Dreamweaver 3.0 to design my website and filezila to upload. I have used mats script for formmail but it is not working. Tried 100 types!! I have saved the from in my note pad uisng save as but it only read save as ASC not ASCII does this matter?

    My website is as follows:
    My form page is called
    My re-direct page is

    I put formmail.cgi as the file name. I save the file cgi-bin in a folder in the root folder, does this matter?

    Anyway I do the following:

    #!usr/bin/perl at the beginning

    $mailprog='/usr/sbin/sendmail -i-t': as instructed



    This is an account at, does it have to be an account with the host?

    Fill in all the form HTML as shown

    <form action="" method="post">
    <input type='hidden' name="recipients" value=""/>
    <input type='hidden' name="subject" value="Form Results"/>
    <input type='hidden' name="required" value="email"/>
    <input type='hidden' name="redirect" value="">;

    Then either get this message:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, 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

    or get this message:

    Bad/No recipient

    Can someone just give me the correct advice?

  2. #2
    SitePoint Wizard bronze trophy KevinR's Avatar
    Join Date
    Nov 2004
    Moon Base Alpha
    0 Post(s)
    0 Thread(s)
    You have:

    <form method="post" action="www.">

    should be:

    <form method="post" action="">

    see if that helps, if not, I don't know, I never mess around with FormMail.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts