+ Reply to Thread
Results 1 to 10 of 10

Thread: how do you set templateurl?

  1. #1
    Join Date
    Oct 2004
    Posts
    8

    Default how do you set templateurl?

    dont know how to set it on

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

    Default Re: how do you set templateurl?

    Hi,

    You create a directory in your webserver's document root, say called "templatedir".

    Now, either change the setting in formmail.php from:
    PHP Code:
    //$TEMPLATEURL = $SCHEME.$SERVER."/templatedir";  // a sample using your server 
    to
    PHP Code:
    $TEMPLATEURL $SCHEME.$SERVER."/templatedir";  // a sample using your server 
    or, leave that line as is, and create a new line like this (assuming your site is fred.com):
    PHP Code:
    $TEMPLATEURL "http://www.fred.com/templatedir"
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Oct 2004
    Posts
    8

    Default Re: how do you set templateurl?

    did that - obviously screwed it up


    got this

    An error occurred while processing the form.

    Our staff have been alerted to the error.
    We apologize for any inconvenience this error may have caused.


    Your form submission was processed by formmail.php (3.00), available from www.tectite.com

    will try to attach files

    Joe

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

    Default Re: how do you set templateurl?

    Hi,

    Our staff have been alerted to the error.
    What did the alert say went wrong?

    You'll need to ZIP the files to attach them to a forum post.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  5. #5
    Join Date
    Oct 2004
    Posts
    8

    Default Re: how do you set templateurl?

    thats all I received


    attached the zip
    Attached Files

  6. #6
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: how do you set templateurl?

    Hi,

    OK, if FormMail says it's sent you an alert and you haven't received it, then we need to solve that problem first.

    Try the test alert feature:
    http://www.yoursite.com/formmail.php?testalert=1

    If you don't receive an email, then please run the mail test scripts from here:
    http://www.tectite.com/vbforums/showthread.php?t=62
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #7
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: how do you set templateurl?

    Hi,

    BTW, with TEMPLATEURL you have:

    PHP Code:
    $TEMPLATEURL "http://www.ecowash.com.au/franchiseereply/fran_reply.htm"
    This is wrong. It should be a directory on your server, not a document, like this:
    PHP Code:
    $TEMPLATEURL "http://www.ecowash.com.au/franchiseereply"
    The document to use is specified within the HTML form.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  8. #8
    Join Date
    Oct 2004
    Posts
    8

    Default Re: how do you set templateurl?

    Did the changes
    this is what I get as far as email is concerned
    To: jim@ecowash.com.au
    From: FormMail@www.ecowash.com.au

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


    Name: 'Joe Loyzaga'
    ClientsAddress: '12'
    Postcode: '2154'
    State: 'New South Wales'
    HomePhone: '88505985'
    MobilePhone: '0414654281'
    Email: 'jloyzaga@noteability.com'
    Comments: 'comm'
    Submit: 'Send Request'

  9. #9
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: how do you set templateurl?

    Hi,

    The following error occurred in FormMail:
    no_valid_recipients
    **********
    Error=The form has an internal error - no valid recipients were specified.
    This alert message tells you that there's a disagreement in the "recipients" field in the form and the email addresses allowed by $TARGET_EMAIL in formmail.php.

    Fix one or both so they agree, and you should get a form submission emailed OK.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  10. #10
    Join Date
    Oct 2004
    Posts
    8

    Default Re: how do you set templateurl?

    ok!!!!!


    Working!!!!

    Thanks so much!!!!

    Joe

    It would have been better if I wasn't so stupid - its really very logical now that I see it working

+ 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. How to set a Thank You Page
    By Right U R Ken in forum FormMail Subscription Support
    Replies: 1
    Last Post: 24-Jan-2006, 11:36 AM
  2. Can "Reply To" EM Field be set to email field
    By CWD in forum FormMail Subscription Support
    Replies: 2
    Last Post: 26-Jul-2005, 05:56 AM
  3. How do i set the from address to a static address?
    By jmoore222 in forum FormMail Subscription Support
    Replies: 2
    Last Post: 05-Jul-2005, 03:56 AM
  4. How to set up the formmail.php file?
    By treborito in forum FormMail Subscription Support
    Replies: 1
    Last Post: 19-Oct-2004, 07:29 PM
  5. Help trying to set up a form to email and send info to file
    By rridsdale in forum FormMail Subscription Support
    Replies: 1
    Last Post: 14-Jan-2004, 03:38 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