+ Reply to Thread
Results 1 to 2 of 2

Thread: Environment Variables

  1. #1
    Join Date
    Apr 2004
    Posts
    10

    Default Environment Variables

    I know I'm missing something very simple here but I can't get any of the environment variables sent to me. What are the steps required to have the ip and host name sent to me in an html mail? I have everything else working right now, I just can't get the environment variables.

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

    Default Re: Environment Variables

    Hi,

    Environment variables are not yet properly supported for HTML templates.

    If you add this to your HTML form:
    Code:
     
    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER" />
    and you've specified that you want both plain text and HTML, then you'll get the environment variables in the plain text version.

    If you've specified NoPlain and are only receiving HTML, then the environment variables are appended to the HTML email, but after the </html> tag.

    Whether you can see them or not depends on your mail reader. If you look at the email source, then you should see it all there.

    Proper support for env. vars. in HTML templates is on our TO-DO list.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ 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. Return All Variables To Form Page On Error
    By cornernote in forum FormMail Subscription Support
    Replies: 12
    Last Post: 31-Oct-2004, 10:20 PM
  2. Variables in HTML form - assigning input type
    By tvulucy in forum FormMail Subscription Support
    Replies: 4
    Last Post: 28-Oct-2004, 09:03 PM
  3. Removing empty variables from eMail reply
    By Prospero in forum FormMail Subscription Support
    Replies: 4
    Last Post: 25-Jul-2004, 08:22 AM
  4. Return All Variables To Bad_Form Page On Error
    By vladimir in forum FormMail Subscription Support
    Replies: 2
    Last Post: 07-Jun-2004, 06:13 PM
  5. Adding Attachment Variables
    By Bella in forum FormMail Subscription Support
    Replies: 1
    Last Post: 12-Apr-2004, 10:43 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