|
Helper tagsTag Names: HelperJS and HelperVBTag: <HELPERJS>, <HELPERVB>Properties: global vars These two tags populate the email object's relative include file when the ServerBehavior is run for JavaScript and VBscript sites. Encapsulated within these tags are the helper functions required by the Universal Email. Each of these tags must define the following 8 functions:
These eight functions, and any other helper functions, must be written in both JavaScript and VBScript and encapsulated in the HELPERJS and HELPERVB tags respectively. These functions will sometimes require setting a global variable. Utilize the globalVars attribute to specify these properties. The globalVars attribute accepts a comma-separated list of numbers which correspond to functions that use global variables to set properties. Example: Using global variablesThe CDO Mail object passes the importance as a string to the WAUE_SendMail() function. This will require a global variable in the helper functions.The variable should have the same name as the function, without a lower-case 'g' replacing the preceding "WAUE_"naming convention, e.g.: <HELPERJS globalVars="8"> var gSetImportance = ""; |
|
||