home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 January / PCWorld_2001-01_cd.bin / Software / Topware / sambar / _SETUP.1 / routes.stm < prev    next >
Text File  |  2000-08-28  |  9KB  |  271 lines

  1. <!--- ******************Login check*************************************** --->
  2. <RCif RCEloggedin ! true>
  3. <HTML><HEAD><TITLE>Not logged in</title></head>
  4. <RCZMAIL_ERROR_START><BR>
  5. <FONT SIZE=+2 COLOR=#ff0000><B>Mail user not logged in!</B></FONT><RCZMAIL_ERROR_END></html><RCexit><RCendif>
  6. <!--- ******************/Login check************************************** --->
  7. <RC$npage = RC@sprintf("%s/%s", RCShome, webmail.stm)>
  8. <RC$start = 1>
  9. <RC$this_page =RCShome/RCEdocument_name>
  10. <HTML>
  11. <HEAD>
  12.     <TITLE><RCVsite_name> Mail filters</TITLE>
  13. <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
  14. <!--
  15.     var exampleTextAdv = "  Example advanced <a href='#' onclick='showInfo();return false'> format </a>  "
  16.     function showFormat(objClassSelect, intClass) {
  17.         var strClassName = objClassSelect.options[intClass].value
  18.         if(document.layers) {
  19.             var objExample = document.layers['divExample']
  20.             var docContents = "<table><tr><td class=\""
  21.             docContents += strClassName
  22.             docContents += "\">"
  23.             docContents += exampleTextAdv
  24.             docContents += "</td></tr></table>"
  25.             objExample.document.open()
  26.             objExample.document.writeln(docContents)
  27.             objExample.document.close()
  28.         } else if(document.all) {
  29.             objExample = document.all['divExample']
  30.             objExample.className = strClassName 
  31.         }
  32.     }
  33.     
  34.     function showInfo() {
  35.         alert("This link does not have a function.\nIt is simply used to show you the font and color of a link in the selected filter.")
  36.     }
  37. //-->
  38. </SCRIPT>
  39.     <LINK REL="StyleSheet" HREF="/syscss/webmail_<RCSstylesheet>.css" type="text/css">
  40.     <LINK REL="StyleSheet" HREF="/syscss/filters_<RCSstylesheet>.css" type="text/css">    
  41.     <RCif RCSstylesheet = winter>
  42.         <RC$nextsheet = spring>
  43.     <RCelseif RCSstylesheet = spring>
  44.         <RC$nextsheet = summer>
  45.     <RCelseif RCSstylesheet = summer>
  46.         <RC$nextsheet = autumn>
  47.     <RCelseif RCSstylesheet = autumn>
  48.         <RC$nextsheet = winter>
  49.     <RCendif>
  50.  
  51. <STYLE TYPE="text/css">
  52. <!--
  53.  
  54.     #divExample {
  55.         position: absolute;
  56.         top: 20px;
  57.         left: 20px;
  58.         width: 200px;
  59.     }
  60.     
  61. -->
  62. </STYLE>
  63. </HEAD>
  64. <BODY BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#0000ff" ALINK="#0000ff" TEXT="#000000">
  65. <RCif RCVnext_sched_down ! none>
  66.     <H2><span style="color:red">Next Scheduled Down Time: <RCVnext_sched_down></span></h2>
  67. <RCendif>
  68. <TABLE WIDTH=100% border=0 cellspacing=4>
  69.     <tr>
  70.         <td colspan=2 align="right"><RCVwmheader></td>
  71.     </tr>
  72.     <tr>
  73.         <td colspan=2>
  74.             <table border=0 cellpadding=4 cellspacing=0 width="100%">
  75.                 <tr bgcolor="#000080">
  76.                     <td class="wmmainheader">
  77.                         <!--- Grammar trick --->
  78.                         <span class="headline"><RCSacc_name> Routing Rules</span>
  79.                     </td>
  80.                     <td class="wmmainheader" align="right" valign="bottom">
  81.                         Back to <a href="<RC$npage>?start=1"><RCSfolder></a> 
  82.                     </td>
  83.                 </tr>
  84.             </table>
  85.         </td>
  86.     </tr>
  87.     
  88.     <RCinclude RCShome/snippets/actions.stm>
  89.     <RCinclude RCShome/snippets/features.stm>
  90.     </TABLE>
  91. </TD>
  92. <TD WIDTH=80% class="routelist" valign="top">
  93.     <TABLE border=0 cellpadding=4 cellspacing=0>
  94.     <TR bgcolor=#000080>
  95.     <TH align=left width=5%> </TH>
  96.     <TH align=left width=5%> </TH>
  97.     <TH align=left width=5%> </TH>
  98.     <TH align=left nowrap width=20%><font color=#ffffff>Activity</font></TH>
  99.     <TH align=left nowrap width=20%><font color=#ffffff>Argument</font></th>
  100.     <TH align=left nowrap width=15%><font color=#ffffff>Filter</font></th>
  101.     <TH align=left nowrap width=25%><font color=#ffffff>Pattern</font></TH>
  102.     <TH align=left nowrap width=5%><font color=#ffffff>Case</font></TH>
  103.     </TR>
  104.     <RCXmailroutes folder=RCSfolder home=RCShome>
  105.     </TABLE>
  106.     <BR>
  107.     <HR>
  108.     <BR>
  109.     <B><I>Add a New Routing Rule...</I></B>
  110.     <P>
  111.     <TABLE border=0 cellpadding=4 cellspacing=0>
  112.     <TR nowrap valign=top>
  113.     <TD nowrap colspan=2>
  114.         <FORM METHOD=POST ACTION=/session/mailroute_add>
  115.         <INPUT TYPE=hidden NAME=folder VALUE="<RCSfolder>">
  116.         <INPUT TYPE=hidden NAME=activity VALUE="delete">
  117.         <INPUT TYPE=hidden NAME=argument VALUE="">
  118.         <INPUT TYPE=hidden NAME=RCpage VALUE="<RCShome>/<RCEdocument_name>">
  119.         <B>Delete Message</B>
  120.     </TD>
  121.     <TD nowrap>
  122.         <I>if...</I>
  123.         <SELECT name="type">
  124.         <OPTION VALUE="subject">Subject:</option>
  125.         <OPTION VALUE="from">From:
  126.         <OPTION VALUE="to">To:
  127.         <OPTION VALUE="cc">Cc:
  128.         </SELECT>
  129.     </TD>
  130.     <TD>
  131.         <SELECT name="action">
  132.         <OPTION value="contains">Contains</option>
  133.         <OPTION value="notcontains">Doesn't Contain</option>
  134.         <OPTION value="equals">Is</option>
  135.         <OPTION value="notequals">Isn't</option>
  136.         <OPTION value="starts">Starts with</option>
  137.         <OPTION value="ends">Ends-with</option>
  138.         </SELECT>
  139.     </TD>
  140.     <TD>
  141.         <INPUT TYPE=TEXT NAME=pattern VALUE="pattern"><BR>
  142.         <FONT SIZE=-1><I>Case Sensitive <INPUT type="checkbox" name="case" value="on"></I></FONT>
  143.     </TD>
  144.     <TD>
  145.         <INPUT TYPE=submit VALUE="Add Rule">
  146.         </FORM>
  147.     </TD>
  148.     </TR>
  149.  
  150.     <TR nowrap valign=top>
  151.     <TD nowrap>
  152.         <FORM METHOD=POST ACTION=/session/mailroute_add>
  153.         <INPUT TYPE=hidden NAME=folder VALUE="<RCSfolder>">
  154.         <INPUT TYPE=hidden NAME=RCpage VALUE="<RCShome>/<RCEdocument_name>">
  155.         <SELECT name="activity">
  156.         <OPTION VALUE="forward"><B>Forward</B>
  157.         <OPTION VALUE="bcc"><B>Bcc</B>
  158.         </SELECT>
  159.     </TD>
  160.     <TD nowrap>
  161.         <I>to...</I>
  162.         <INPUT TYPE=TEXT NAME=argument VALUE="foo@bar.com">
  163.     </TD>
  164.     <TD nowrap>
  165.         <I>if...</I>
  166.         <SELECT name="type">
  167.         <OPTION VALUE="subject">Subject:</option>
  168.         <OPTION VALUE="from">From:
  169.         <OPTION VALUE="to">To:
  170.         <OPTION VALUE="cc">Cc:
  171.         </SELECT>
  172.     </TD>
  173.     <TD>
  174.         <SELECT name="action">
  175.         <OPTION value="contains">Contains</option>
  176.         <OPTION value="notcontains">Doesn't Contain</option>
  177.         <OPTION value="equals">Is</option>
  178.         <OPTION value="notequals">Isn't</option>
  179.         <OPTION value="starts">Starts with</option>
  180.         <OPTION value="ends">Ends-with</option>
  181.         </SELECT>
  182.     </TD>
  183.     <TD>
  184.         <INPUT TYPE=TEXT NAME=pattern VALUE="pattern"><BR>
  185.         <FONT SIZE=-1><I>Case Sensitive <INPUT type="checkbox" name="case" value="on"></I></FONT>
  186.     </TD>
  187.     <TD>
  188.         <INPUT TYPE=submit VALUE="Add Rule">
  189.         </FORM>
  190.     </TD>
  191.     </TR>
  192.  
  193.     <RCif RC@mailinfo(numfolders) > 1>
  194.     <TR nowrap valign=top>
  195.     <TD nowrap>
  196.         <FORM METHOD=POST ACTION=/session/mailroute_add>
  197.         <INPUT TYPE=hidden NAME=folder VALUE="<RCSfolder>">
  198.         <INPUT TYPE=hidden NAME=activity VALUE="folder">
  199.         <INPUT TYPE=hidden NAME=RCpage VALUE="<RCShome>/<RCEdocument_name>">
  200.         <B>Move</B>
  201.     </TD>
  202.     <TD nowrap>
  203.         <I>to...</I>
  204.         <RCXmailfolders folder=RCSfolder home=RCShome type=pick>
  205.     </TD>
  206.     <TD nowrap>
  207.         <I>if...</I>
  208.         <SELECT NAME=type>
  209.         <OPTION VALUE="subject">Subject:</option>
  210.         <OPTION VALUE="from">From:
  211.         <OPTION VALUE="to">To:
  212.         <OPTION VALUE="cc">Cc:
  213.         </SELECT>
  214.     </TD>
  215.     <TD>
  216.         <SELECT name="action">
  217.         <OPTION value="contains">Contains</option>
  218.         <OPTION value="notcontains">Doesn't Contain</option>
  219.         <OPTION value="equals">Is</option>
  220.         <OPTION value="notequals">Isn't</option>
  221.         <OPTION value="starts">Starts with</option>
  222.         <OPTION value="ends">Ends-with</option>
  223.         </SELECT>
  224.     </TD>
  225.     <TD>
  226.         <INPUT TYPE=TEXT NAME=pattern VALUE="pattern"><BR>
  227.         <FONT SIZE=-1><I>Case Sensitive <INPUT type="checkbox" name="case" value="on"></I></FONT>
  228.     </TD>
  229.     <TD>
  230.         <INPUT TYPE=submit VALUE="Add Rule">
  231.         </FORM>
  232.     </TD>
  233.     </TR>
  234.     <RCendif>
  235.  
  236.     <TR>
  237.     <TD colspan=6>
  238.         <BR>
  239.         <BR>
  240.         <I>Only 100 routing rules are applied.</I>
  241.         <P>
  242.         <i>Note: <small>The wildcard characters *, [] and ?
  243.         can be used for pattern matching.  To escape any one of these
  244.         characters in the pattern, you must use a backslash (\) character.
  245.         </small></i>
  246.         <P>
  247.         <FONT SIZE=-1>
  248.         The <I>argument</I> must correspond with the routing action:<BR>
  249.         <TABLE border=1 cellpadding=4>
  250.         <TR valign=top><TD><B>Action</B></TD><TD><B>Continue?</B><TD><B>Description</B></TD></TR>
  251.         <TR valign=top><TD>delete</TD><TD>no</TD><TD><I>argument</I> is ignored</TD></TR>
  252.         <TR valign=top><TD>forward</TD><TD>no</TD><TD><I>argument</I> must be an e-mail address</TD></TR>
  253.         <TR valign=top><TD>bcc</TD><TD>yes</TD><TD><I>argument</I> must be an e-mail address</TD></TR>
  254.         <TR valign=top><TD>folder</TD><TD>no</TD><TD><I>argument</I> must be a mailbox folder</TD></TR>
  255.         <TR valign=top><TD>script</TD><TD>yes</TD><TD><I>argument</I> is the path to a <I>.stm</> file to execute</TD></TR>
  256.         <TR valign=top><TD>replyfile</TD><TD>yes</TD><TD><I>argument</I> is the path to an file to reply to the sender with</TD></TR>
  257.         <TR valign=top><TD>replyscript</TD><TD>yes</TD><TD><I>argument</I> is the path to a <I>.stm</> file to reply to the sender with</I></TD></TR>
  258.         </TABLE>
  259.         </FONT>
  260.     </TD>
  261.     </TR>
  262.     </TABLE>
  263.     </FORM>
  264. </TD>
  265. </TR>
  266. </TABLE>
  267. <P>
  268. <A HREF="/" TARGET=_top><IMG border=0 SRC="/sysimage/system/powerby.gif"></A>
  269. </BODY>
  270. </HTML>
  271.