Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Email error message - "no_valid_recipients"

  1. #21
    Join Date
    Sep 2009
    Posts
    48

    Default Re: Email error message - "no_valid_recipients"

    This is how I have set them. Not sure if this is correct.


    /* Help: http://www.tectite.com/fmdoc/templatedir.php */
    $TEMPLATEDIR = ""; // directory for template files; empty string
    // if you don't have any templates


    /* Help: http://www.tectite.com/fmdoc/templateurl.php */
    $TEMPLATEURL = "http://www.emstravel.co.uk/_private/...t_thankyou.htm, http://www.emstravel.co.uk/_private/...onse_email.htm, http://www.emstravel.co.uk/_private/autoresponse.txt"; // default; no template URL


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

    Post Re: Email error message - "no_valid_recipients"

    Don't include the filenames in TEMPLATEURL. TEMPLATEURL should point to the directory where the files reside. You specify the filenames on your form.

    After you do this change good_url on your form to good_template. This assumes that the good template is in the template specified above. It has to be.

  3. #23
    Join Date
    Sep 2009
    Posts
    48

    Default Re: Email error message - "no_valid_recipients"

    Not sure what you mean by that.

    Ok here goes:::

    Do you mean like this

    $TEMPLATEDIR ="/home/z24emst/public_html_templates"

  4. #24
    Join Date
    Jun 2009
    Location
    Houston
    Posts
    378

    Post Re: Email error message - "no_valid_recipients"

    Yes, if that is the correct directory path. Or you can leave TEMPLATEDIR empty ("") and use TEMPLATEURL like you were but just don't include the filenames.

    TEMPLATEURL="http://www.somewhere.com/my_templates";

  5. #25
    Join Date
    Sep 2009
    Posts
    48

    Default Re: Email error message - "no_valid_recipients"

    I have set them to www.emstravel.co.uk_private

    /* Help: http://www.tectite.com/fmdoc/templatedir.php */
    $TEMPLATEDIR = ""; // directory for template files; empty string
    // if you don't have any templates

    /* Help: http://www.tectite.com/fmdoc/templateurl.php */
    $TEMPLATEURL = "
    http://www.emstravel.co.uk/_private, http://www.emstravel.co.uk/_private, http://www.emstravel.co.uk/_private"; // default; no template URL


    I have changed the "good-url" to "good-template" but the confirmation page now does not apear when the form is submitted

  6. #26
    Join Date
    Sep 2009
    Posts
    48

    Default Re: Email error message - "no_valid_recipients"

    <form method="post" action=http://www.emstravel.co.uk/formmail.php>
    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER" />

    <input type="hidden" name="recipients" value="mick.bullous@inbox.com" />

    <input type="hidden" name="required" value="realname:,email:,tel:,enquiry_about:,comments:,arverify," />

    <input type="hidden" name="subject" value="Contact Form Web Enquiry" />

    <input type="hidden" name="good_template" value="http://www.emstravel.co.uk/_private/contact_thankyou.htm" />
    <input type="hidden" name="good_template" value="path/to/http://www.emstravel.co.uk/_private/contact_thankyou.htm" />


    <input type="hidden" name="autorespond" value="
    http://www.emstravel.co.uk/_private/autoresponse_email.txt,Subject=Thank You for submitting your enquiry!,TemplateMissing=" /><div align="center">


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

    Post Re: Email error message - "no_valid_recipients"

    Set TEMPLATEURL to

    Code:
    $TEMPLATEURL = "http://www.emstravel.co.uk/_private";
    There is only One URL path. All of your templates need to be in that path.
    Last edited by jzieba; 05-Sep-2009 at 03:35 AM.

  8. #28
    Join Date
    Sep 2009
    Posts
    48

    Default Re: Email error message - "no_valid_recipients"

    Thanks for that.

    Ok the form info is sent to me by email.
    The confirmation page opens ok.
    The info on the confirmation is ok.

    The auto email does not get sent.

    I must be doing some thing wrong with it. I change the setting like you said but still don't send the email.

    Get this email error message

    To: mick.bullous@inbox.com
    From: FormMail@www.emstravel.co.uk

    The following error occurred in FormMail :
    Some autorespond settings are undefined :
    http://www.emstravel.co.uk/_private/autoresponse_email.txt

    email:
    realname:


    Referring page was
    http://www.emstravel.co.uk/contact_form.htm
    SERVER_NAME was www.emstravel.co.uk
    REQUEST_URI was /formmail.php

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 error message
    By edenexcursions in forum FormMail Subscription Support
    Replies: 17
    Last Post: 06-Aug-2004, 12:39 AM
  2. Spiders and "The form has an internal error"
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 13-May-2004, 09:11 PM
  3. Email contains no "mesg"
    By xuric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 19-Apr-2004, 08:17 PM
  4. Error Message on Optus
    By paf in forum FormMail Subscription Support
    Replies: 6
    Last Post: 12-Jan-2004, 11:43 AM
  5. Error Message
    By cuffs in forum FormMail Subscription Support
    Replies: 4
    Last Post: 11-Jan-2004, 04:42 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
  •