+ Reply to Thread
Results 1 to 10 of 12

Thread: form submission alert

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Posts
    11

    Default form submission alert

    I got this error and found this info about it in FAQ:

    If you've configured FormMail, and whenever you submit a form you receive an alert message like this:
    The following error occurred in FormMail :no_valid_recipients **********Error=The form has an internal error - no valid recipients were specified.then you've either made an error in configuring FormMail or in setting the "recipients" (note the "s") hidden field in your HTML form.

    how do I go about reconfiguring the file? thanks...

  2. #2
    Join Date
    Jun 2009
    Location
    Houston
    Posts
    378

    Post Re: form submission alert

    Hi,

    You need to make sure your $TARGET_EMAIL array is set correctly in your formmail script to match the recipients you have specified on your form.

    http://www.tectite.com/fmdoc/target_email.php

    Also, make sure the hidden field is called "recipients".

  3. #3
    Join Date
    Jul 2009
    Posts
    11

    Default Re: form submission alert

    I tried matching my formmail script with my form, but still can't get it to work. Here's the original script, set up by others on my old server (I moved the site to a new server recently):

    //$TARGET_EMAIL = array("^jim@proi\.net$", "^proi.net@gmail.com$", "^jerry@boatpaddleukuleles\.com$");

    $TARGET_EMAIL = array(EMAIL_NAME."@boatpaddleukuleles\.com$",
    "^jim@proi\.net$",
    "^proi\.net@gmail\.com$",
    "^jerry1@blacksmithsjournal\.com$");

    and here's the contact form that I edited for the new server:

    <input type="hidden" name="recipients" value="jerry132JWTboatpaddleukuleles.com,jerry132JWTblacksmithsjournal.com" />
    <input type="hidden" name="required" value="EmailAddr:Your email address,Name:Your name" />
    <input type="hidden" name="derive_fields" value="email=EmailAddr,realname=Name" />
    <input type="hidden" name="mail_options" value="Exclude=email;realname;your_good_url,KeepLines" />
    <input type="hidden" name="subject" value="Contact request from www.boatpaddleukuleles.com"

    If the recipients on the contact form are correct, what should the formmail script look like? thanks

  4. #4
    Join Date
    Jul 2009
    Posts
    11

    Default Re: form submission alert

    I tried matching my formmail script with my form, but still can't get it to work. Here's the original script, set up by others on my old server (I moved the site to a new server recently):

    //$TARGET_EMAIL = array("^jim@proi\.net$", "^proi.net@gmail.com$", "^jerry@boatpaddleukuleles\.com$");

    $TARGET_EMAIL = array(EMAIL_NAME."@boatpaddleukuleles\.com$",
    "^jim@proi\.net$",
    "^proi\.net@gmail\.com$",
    "^jerry1@blacksmithsjournal\.com$");

    and here's the contact form that I edited for the new server:

    <input type="hidden" name="recipients" value="jerry132JWTboatpaddleukuleles.com,jerry132JWTblacksmithsjournal.com" />
    <input type="hidden" name="required" value="EmailAddr:Your email address,Name:Your name" />
    <input type="hidden" name="derive_fields" value="email=EmailAddr,realname=Name" />
    <input type="hidden" name="mail_options" value="Exclude=email;realname;your_good_url,KeepLines" />
    <input type="hidden" name="subject" value="Contact request from www.boatpaddleukuleles.com"

    If the recipients on the contact form are correct, what should the formmail script look like? thanks

  5. #5
    Join Date
    Jun 2009
    Location
    Houston
    Posts
    378

    Post Re: form submission alert

    What is your AT_MANGLE setting?

    Also what is the URL for the form?
    Last edited by jzieba; 08-Aug-2009 at 10:42 PM.

  6. #6
    Join Date
    Jul 2009
    Posts
    11

    Default Re: form submission alert

    I think this is it...

    if (AT_MANGLE != "")
    $email = str_replace(AT_MANGLE,"@",$email);
    return ($email);


    http://www.boatpaddleukuleles.com/contactform.htm

  7. #7
    Join Date
    Jun 2009
    Location
    Houston
    Posts
    378

    Post Re: form submission alert

    Inside your river.php there should be something like this:

    define("AT_MANGLE","132JWT");

    or

    define("AT_MANGLE","");

    Also, I submitted your form and did not get an error.
    Last edited by jzieba; 08-Aug-2009 at 11:04 PM.

+ 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. Confirm submission
    By thune in forum FormMail Subscription Support
    Replies: 1
    Last Post: 05-Jan-2006, 03:25 AM
  2. Form submission creates blank page
    By Tik in forum FormMail Subscription Support
    Replies: 1
    Last Post: 03-Jan-2006, 08:52 PM
  3. Create a price sum for the submission of an order form?
    By bonzovt in forum FormMail Subscription Support
    Replies: 6
    Last Post: 14-Mar-2005, 08:46 PM
  4. limit form submission
    By nexile in forum FormMail Subscription Support
    Replies: 1
    Last Post: 17-Aug-2004, 09:31 PM
  5. Errors after from submission
    By LPac in forum FormMail Subscription Support
    Replies: 1
    Last Post: 18-Feb-2004, 03:23 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