+ Reply to Thread
Results 1 to 4 of 4

Thread: no_valid_recipients error

  1. #1
    Join Date
    Aug 2004
    Posts
    11

    Default no_valid_recipients error

    Hello and thanks for the great script, first of all.

    I'm having some trouble getting the script to work properly.

    First, when I have my html set to use "post," I get an error message that says "It appears the form is not working correctly as there was no data found."

    So I set the method to "get". When I submit the form this way, I get an error message and a "FormMail script error" e-mail sent to me with the following text and all of my form fields:

    The following error occurred in FormMail:
    no_valid_recipients
    **********
    Error=The form has an internal error - no valid recipients were specified.
    Here is the relevent section of my form:

    Code:
    <form method="get" action="http://visitingscientists.org/cgi-bin/formmail.php" name="application_form">
       
       <input type="hidden" name="recipients" value="tubaguy0@fastmail.fm" />
        <input type="hidden" name="subject" value="application_form" />
       <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER" />
    ... and the relevent part of the script config:

    Code:
    $TARGET_EMAIL = array(EMAIL_NAME."@fastmail\.fm$", 
             		      EMAIL_NAME."@unm\.edu$", 
             		      EMAIL_NAME."@pcgraphweb\.com$", 
             		      );
    The urls are:

    http://www.visitingscientists.org/contact.php
    http://www.visitingscientists.org/cgi-bin/formmail.php

    UPDATE:I've discovered that the no_valid_recipients error message only occurs when using Firefox... IE 6.0 seems to work fine.
    Last edited by tubaguy0; 13-Aug-2004 at 08:06 PM.

  2. #2
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: no_valid_recipients error

    Hi,

    I'm guessing that FireFox doesn't know how to submit a form with the GET method. Just a guess.

    Does IE work with the POST method?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Aug 2004
    Posts
    11

    Default Re: no_valid_recipients error

    no it doesn't. maybe i should give my isp a call.

  4. #4
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: no_valid_recipients error

    Hi,

    It certainly sounds like your server isn't processing POST method. This might be a (poorly considered) "security" feature on your server.

    That's why you can use the GET method with FormMail.

    But, if FireFox doesn't support forms with the GET method, there's not much we can do about that.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. no_valid_recipients help
    By loki32780 in forum FormMail Subscription Support
    Replies: 0
    Last Post: 03-Jun-2005, 05:08 PM
  2. no_valid_recipients
    By bom1304 in forum FormMail Subscription Support
    Replies: 2
    Last Post: 24-Mar-2005, 11:01 AM
  3. no_valid_recipients + Charset error
    By sutra in forum FormMail Subscription Support
    Replies: 3
    Last Post: 06-Mar-2005, 12:54 AM
  4. keep getting no_valid_recipients error
    By nurblet in forum FormMail Subscription Support
    Replies: 2
    Last Post: 28-Dec-2004, 09:22 PM
  5. no_valid_recipients error message
    By edenexcursions in forum FormMail Subscription Support
    Replies: 17
    Last Post: 06-Aug-2004, 01:39 AM

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