home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2001 January
/
PCWorld_2001-01_cd.bin
/
Software
/
Topware
/
sambar
/
_SETUP.1
/
fwdmail.stm
< prev
next >
Wrap
Text File
|
2000-09-06
|
2KB
|
38 lines
<!--- use the signature defined by the user or a default one --->
<RCif RCPsignature ! null>
<RC$append1 = RCPsignature>
<RCelse>
<RC$append1 = _______________________________________
RCPname
>
<RCendif>
<RC$append2 = _______________________________________________________________________
PowerSig 1.1 - Powered by Sambar Webmail - http://www.sambar.com)>
<!--- Sprintf is used to format the email address. --->
<RC$append3 = RC@sprintf("Verified account: %s at nospam.%s", RCEusername, RCEmailname)>
<!--- Format the append string --->
<RC$append = RC@sprintf("%s\n%s\n%s\n", RC$append1, RC$append2, RC$append3)>
<!--- Conditional Send example: disallow executables as attachments.
This is provided as an example on how to disallow certain features in a webmail application.
The "Right" scalar is used to retrieve the extension.
Then a case-insensitive check is done, on the extension. --->
<RC$extension = RC@right(RC$filename, 5)>
<RCif RC@igrep(RC$extension, .exe) ! -1>
<RCredirect illegal.stm?error=attachment&detected=exe>
<RCelseif RC@igrep(RC$extension, .bat) ! -1>
<RCredirect illegal.stm?error=attachment&detected=bat>
<RCelseif RC@igrep(RC$extension, .com) ! -1>
<RCredirect illegal.stm?error=attachment&detected=com>
<RCelse>
<RCXmailforward to=RC$to from=RC$from cc=RC$cc bcc=RC$bcc subj=RC$subj body=RC$body append=RC$append msgno=RC$msgno folder=RCSfolder>
<RCendif>
<!--- Conditional redirect --->
<RCif RC$popup = true>
<RCredirect closer.htm>
<RCelse>
<RCredirect webmail.stm?start=RC$start>
<RCendif>