Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Newbie Trying to use FormMail

by tachyon (Chancellor)
on Nov 15, 2004 at 22:36 UTC ( #407994=note: print w/replies, xml ) Need Help??


in reply to Newbie Trying to use FormMail

I am not going to assist you to get Matt's original scripts working. Hopefully you will take this piece of advice -> Download the secure version of Formmail from The NMS part of Matt's site. There is a README. If you READIT you will find everything clearly documented. The user servicable parts are at the top of the script. Read the readme, and follow the instructions.

If you have not programmed anything ever be aware that computers are fussy. THIS is not the same as This ie case matters. 'This' is OK but 'This is missing a closing quote. In general every ; , . => ( ) 'quote' is important so follow the examples exactly

The CGI Help Guide will help you as well. It will tell you how to find the syntax error you have introduced through your edits.

cheers

tachyon

Replies are listed 'Best First'.
Re^2: Newbie Trying to use FormMail
by davorg (Chancellor) on Nov 16, 2004 at 08:49 UTC
    Download the secure version of Formmail from The NMS part of Matt's site

    It's probably better if you advise people to download the nms programs from the nms site rather than Matt's. The versions on Matt's site have sometimes sometimes lagged behind the latest release. Matt tells me he's fixed that problem now, but it's probably best to get them directly from the source.

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Re^2: Newbie Trying to use FormMail
by hulio (Initiate) on Nov 15, 2004 at 22:55 UTC
    Actually, I am using the FormMail from nms. all I am doing is adding the recipient hidden field in the form. Before i did that the output was successfully printed to the browser. When I upload the change, I now get the 500 error. In the pl file I have these settings: $postmaster @referers @allow_mail_to each include the domain/address that i have included in the form field, and : @recipients = (); I am not completely new to programming, but it is quite obviously not my forte. Thanks again. Hulio

      Have you followed any of the other advice? The advice that notes there is a README and you need to READIT; you can/should add fatalsToBrowser; read the error log; read CGI Help Guide? You will have a trivial syntax error. It will be documented in the error log. If you post exactly what you are trying to upload (just cut and paste to configuration section between <code> </code> tags) + the logged error or carefully read the README and do it exactly as described.....

      cheers

      tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://407994]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2018-12-11 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (54 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!