|
|
ParseExtensions
This feature allows you to control whether the IMail tags are parsed for an included document (of a specific file extension), or whether the IMail tags are simply displayed. You can use ParseExtensions to parse the IMail tags for any included file ("include" tag), regardless of its file extension. This is useful if you are unable to manually change the file extension. You can use the IMail "include" tag to parse any file extension listed in the registry. For example, the following IMail tags can be made valid by using ParseExtensions:
<!--IMAIL.Include filename.asp-->
<!-- IMAIL.Include filename.cgi-->
<!--IMAIL.Include filename.js-->
<!--IMAIL.Include filname.txt-->
Directory Location
The ParseExtensions REG_MULTI_SZ value goes in the following registry location:
[HKEY_LOCAL_MACHINE\SOFTWARE\Ipswitch\IMail\Global]If ParseExtensions does not exist in the registry, the IMail "include" tag parses files with the following extensions automatically, allowing IMail tags to be executed within the given file: cgi, asp, htm and html.
All other file extensions will be parsed, however, the IMail tags will be displayed as written and NOT executed. The IMail "include" tag also parses all file extensions, but it will NOT execute the IMail tags within these files.
If ParseExtensions is located in the registry but does not contain any file extensions, the IMail "include" tag parses all file extensions given to the tag. It also executes all IMail tags found within the parsed file.
Adding ParseExtensions to the Registry
To add ParseExtensions to the registry, do the following:
- Launch the "Run" command line.
- Enter "regedit" and press Enter on the keyboard.
- Go to the following registry location:
[HKEY_LOCAL_MACHINE\SOFTWARE\Ipswitch\IMail\Global]
- Add a value of ParseExtensions, with type, REG_MULTI_SZ
- Enter the extensions of the files, which you want to have executable IMail tags, into the textbox without any delimiters. For example, if you would like to only parse the IMail tags for cgi, html, and asp files, enter the desired extensions on each line.
Each extension should occupy its own line as follows:
- cgi
- html
- asp
![]() Ipswitch, Inc. http://www.ipswitch.com |
| ©Ipswitch 2005 | |||