Results 1 to 2 of 2

Thread: The form has an internal error - no actions or recipients were specified

  1. #1
    Join Date
    Sep 2012
    Posts
    1

    Unhappy The form has an internal error - no actions or recipients were specified

    The following error occurred in FormMail :
    no_recipients
    **********
    Error=The form has an internal error - no actions or recipients were specified.


    Seems to be a common and unfortunately, unanswered question - at least when people have remembered to add a recipient but i would appreciate any help offered.
    My Forms hidden bits:
    <form method="post" action="formmail.php" enctype="text/plain" id="skysignup" name="skysignup">
    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER" />
    <input type="hidden" name="recipients" value="orders@westcountrydigital.co.uk" />
    <input type="hidden" name="required" value="EmailAddr:Your email address,FullName:Your name" />
    <input type="hidden" name="subject" value="Sample FormMail Testing" />
    <!-- this derives (creates) "email" and "realname" special fields from the input fields -->
    <input type="hidden" name="derive_fields" value="email=EmailAddr,realname=FullName" />
    <!-- this excludes the "email" and "realname" special fields from the body of the email you receive -->
    <input type="hidden" name="mail_options" value="Exclude=email;realname" />
    <input type="hidden" name="mail_options" value="Exclude=email;realname" />

    and corresponding config line
    $TARGET_EMAIL = array("^orders@westcountrydigital\.co.uk$");


    Many thanks in advance.

  2. #2
    Join Date
    May 2008
    Posts
    1,291

    Default Re: The form has an internal error - no actions or recipients were specified

    Hi,

    Remove this:

    Code:
     enctype="text/plain"


    The default enctype is "
    application/x-www-form-urlencoded" and is what you should be using unless your form allows file uploads. If you're allowing file uploads it should be "multipart/form-data". However, if there are no file uploads, you can just leave the enctype out because "application/x-www-form-urlencoded" will be used by default if you don't specify anything.

    ginger

    p.s. You also have 2 mail_options fields and html only allows one field with each name.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 06-Sep-2012, 02:55 PM
  2. Replies: 1
    Last Post: 06-Sep-2012, 09:52 AM
  3. Replies: 2
    Last Post: 16-Jul-2009, 03:02 AM
  4. Replies: 1
    Last Post: 28-Jan-2009, 10:38 PM
  5. Replies: 0
    Last Post: 27-Jun-2008, 01:08 AM

Tags for this Thread

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
  •