Results 1 to 4 of 4
  1. #1

    Default Error in recipient of form mail

    I admit I'm new and confused with cgi scripts. But I have been studying and searching all night. When I attempt to send information in a form I've created (Using formmail), I get this error message: "There was no recipient or an invalid recipient specified in the data sent to FormMail. Please make sure you have filled in the recipient form field with an e-mail address that has been configured in @recipients."

    I've experimented with the recipients array and currently have it at:

    @recipients = &fill_recipients('','' ,','');

    I also currently have the referers array at:
    @referers = ('','','','domain', '');

    I even tried using an optional code on the formmail site to list the specific email addy in the recipient array. Still no go.

    Why am I still getting an error? I do have an hidden field in my form which is set to email (the domain being listed both in the recipients and referers array.)

    Help! I'm going nuts here!

  2. #2
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Kansas City Mo


    I think that all you need in it is @referers since it is using the sub fill_recipeints to create the array using what you have entered in @referers. I don't have the documentation on this script since I use the new NMS FormMail version of it that works a bit different and is more secure but I think that if you want to add make different entries that you would remove the &fill_recipients and make it a regular arrary i.e.
    @recipients = ('','',','');
    If you simply want to use what is in the @referers it should look like this:
    @recipients = &fill_recipients(@referers);
    Please remember your charity of choice:

    Handy Links: | Plain Text Editors: EditPlus | Crimson

  3. #3

    Default Different error

    I tried this suggestion and now I am getting a "500 Internal Server Error" instead of the previous error. It reads

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

  4. #4
    Senior Member jalal's Avatar
    Join Date
    May 2003


    This error can be caused by many things:

    * script is in DOS format
    * path to perl is set wrongly
    * there is a typo in the script.

    If you know how to use SSH then you can SSH up to the server and run the script from the command line and see what the errors are. You could also check in the apache error logs which may give more details.


Similar Threads

  1. Help with dada form mail
    By magicman in forum Web Design and HTML
    Replies: 1
    Last Post: 12-31-2007, 10:25 AM
  2. Form Mail
    By lclark in forum E-mail / FTP Management
    Replies: 6
    Last Post: 06-07-2007, 03:03 PM
  3. Form Mail config error
    By walt in forum CGI Scripts / Perl
    Replies: 16
    Last Post: 02-15-2005, 04:20 PM
  4. "Bad Referer" for form mail
    By rameygifts in forum CGI Scripts / Perl
    Replies: 2
    Last Post: 10-16-2004, 06:34 PM
  5. how to configure form mail
    By brenski in forum General Discussion
    Replies: 1
    Last Post: 10-30-2003, 10:10 AM

Posting Permissions

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