Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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.



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.


    "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.....



Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-08-22 03:37 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (204 votes). Check out past polls.