Module UTL
You must use WCT files for this feature. To display a new mail text on your start page change your DEFAULT.HTM to DEFAULT.WCT and add the following to the body of the page:
@ MODULE UTL NEWMAIL @ @ IF NEWMAIL @You have new mail!@ ELSE @No Mail!@ ENDIF @
|
The @ MODULE UTL xxxxx @ command will automatically run the built-in wcx application called WCT-UTL.WCX with a parameter of xxxxx.
NEWMAIL is one acceptable parameter that will set the template variable NEWMAIL. Then you can check the variable with an IF command.
Other MODULE UTL commands are:
SAYSOMETHINGGOOD
|
salute the user "good morning, good evening.."
|
QUOTEOFTHEDAY
|
show quote of the day
|
NEWMAIL
|
set template variable NEWMAIL if user has new mail
|
DISPLAYFILE file
|
display the file
|
BULLMENU
|
display the bulletin menu
|
BULLETIN bull
|
display the bulletin
|
NEWSLETTER
|
display the current newsltr file
|
LOGON
|
automatically does NEWSLETTER, BULLMENU, checks birthday, checks for new questionaire available (sets template variable QUESDATE to "Y") and checks for new mail.
|
|