Closed Thread
Results 1 to 10 of 21

Thread: can't use mail_options

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    12

    Default can't use mail_options

    Hi. Everyone

    when ever i put this on my php form and submit, the server never send me the form message.

    <input type="hidden" name="mail_options"value="HTMLTemplate=tp.html,NoPlain,TemplateMissing=N/A,Exclude=realname,CharSet=windows-874" />

    while i remove this line out the message sending to my box normally.
    any idea? after submit botton no errors at all simply said sucess sent message.

    if i didn't put this line the message came to me in plain text normally , but i want it in a html message display. the good_url, bad_url is work fine.
    def_alert working as usual. the TEMPLATEDIR is set properly.

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

    Default Re: can't use mail_options

    Hi,

    You're missing a space between "mail_options" and value.

  3. #3
    Join Date
    Sep 2009
    Posts
    12

    Default Re: can't use mail_options

    i've try put the space between them
    <input type="hidden" name="mail_options" value="HTMLTemplate=tp.html, NoPlain,TemplateMissing=N/A,Exclude=realname,CharSet=windows-874" />

    still got the problem

  4. #4
    Join Date
    May 2008
    Posts
    1,274

    Default Re: can't use mail_options

    What is your setting for $TEMPLATEDIR? Did you get it by running testalert and using the path to your document root, then adding the rest of the path to your template directory?

  5. #5
    Join Date
    Sep 2009
    Posts
    12

    Default Re: can't use mail_options

    my template dir is
    $TEMPLATEDIR = "/home/thai-rr/public_html/template

    and report from test alert is
    DOCUMENT_ROOT: /home/thai-rr/public_html
    SCRIPT_FILENAME: /home/thai-rr/public_html/sales/formmail.php
    PATH_TRANSLATED: -not set-
    REAL_DOCUMENT_ROOT: /home/thai-rr/public_html

    REQUEST_URI was /sales/formmail.php?testalert=1

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

    Post Re: can't use mail_options

    What is the url for your form?

Closed Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. mail_options issue, and templateurl template issu
    By squeegee in forum Community Support
    Replies: 2
    Last Post: 20-Dec-2006, 12:05 AM
  2. derive_fields for mail_options
    By tvulucy in forum Community Support
    Replies: 2
    Last Post: 07-Sep-2006, 08:45 AM
  3. Error:Some mail_options settings are undefined
    By tsheffie in forum Community Support
    Replies: 1
    Last Post: 09-Jun-2006, 02:42 AM
  4. mail_options and template problems
    By middric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 09-Jan-2005, 09:29 PM
  5. Help with mail_options and conditions
    By wufpack00 in forum FormMail Subscription Support
    Replies: 2
    Last Post: 06-Jul-2004, 01:49 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