Results 1 to 5 of 5

Thread: Formmail doesn't work for me...

  1. #1
    Join Date
    Nov 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Formmail doesn't work for me...

    Formmail wasn't working due to server problem...
    Anyway.THANKS guys!!!
    Last edited by Cherry; 11-14-2006 at 03:42 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This:

    file:///C|/Documents and Settings/Rew/My Documents/cgi-bin/formmail.cgi
    tells me that you are trying to run this on your local computer. However, formail is a server package that you not only need to install on your computer, your computer has to be a server as well and be one configurable and configured to run formail. If you really have a server and are trying to set it up to use formail, try hanging out in a formail forum. You will get much better help there.

    It doesn't have to be so complicated. Unless your local machine is a server and you do want to set it up with formail, you shouldn't even be trying to run this 'at home'. Find a host that supports formail and use the preconfigured formail on their system according to the instructions for its use that they should have available. Or, forget about formail altogether - if all you want is a web-based email client for your users, there are also third party mail services you can use, some of these are 'free' (ad supported). Google 'third party mail forms'.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Just to add to John's suggestions, you can always try out different cgi form mailing scripts to see which one you can get to work. Here's a good list: http://cgi.resourceindex.com/Program...rm_Processing/

    p.s: Please post in the correct forum. This has nothing to do with DD scripts. Moving to "Other" forum.

  4. #4
    Join Date
    Feb 2008
    Posts
    83
    Thanks
    26
    Thanked 1 Time in 1 Post

    Default RE: Formail

    My tips from what I've learned:

    1) Use FileZilla as it's a stellar free FTP app. I did have issues with a later version and went back to 2.2.23 at www.oldapps.com and it worked great.

    2) Be sure your webhost allows for cgi scripts.

    3) Code your form like this:
    <form name="formmail" action="http://yourwebhost.com/cgi-bin/formmail.cgi" method="post">
    <input type="hidden" name="recipient" value="youremail@yourwebhost.com"><input type=hidden name="subject" value="Your Email Subject">
    <input type=hidden name="redirect" value="http://yourwebhost.com/confirmation_page.htm">
    <input type=hidden name="required" value="Name,email,radio,City,State,Address,Company,Phone">

    and submit link: <input type=SUBMIT value="Submit">

    IMPORTANT: Be sure that your field name matches your required values above. These are case sensitive.
    For example:
    <input type="text" name="Name" size="24" border="0">
    NOT name="name"

    4) Open the formail.cgi and search for: @referers =

    Enter your webhost: @referers = ('yourhost.com');

    Type in: These fields must be filled in

    And change the font to verdana size 2, also add a back link (makes the missing fields page look a lot better):
    ***Paste After: <tr><th>

    <font face="verdana" size="2">Error: Blank Fields</font></th></tr>
    </table>
    <table border=0 cellpadding="8" bgcolor=#ffffff>
    <tr><td><font face="verdana" size="2">The following fields were left blank in your submission form:</font><p>
    <ul><b><font face="verdana" size="2" color="#006699">
    $missing_field_list
    </ul></b></font><br>

    <font face="verdana" size="2"> These fields must be filled in before you can successfully submit the form.<p>
    <b><a href="javascript:history.go(-1)">Go Back</a></b>

    ***Before <hr size=1>

    5) Save the .cgi in a folder cgi-bin in your main webhost directory: /
    6) Right click the file and scroll down to: File Attributes and type in 755.

    I think that's it : )

  5. #5
    Join Date
    Feb 2008
    Posts
    83
    Thanks
    26
    Thanked 1 Time in 1 Post

    Default

    ddadmin,

    Do you know how to send a copy of the web form to the one submitting it? Thanks.

Bookmarks

Posting Permissions

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