home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 February / PCWorld_2003-02_cd.bin / Komunik / sambar / sambar53b3.exe / sysuser / webmail / mlistnew.stm < prev    next >
Encoding:
Text File  |  2002-10-17  |  5.5 KB  |  181 lines

  1. <RCif RCEloggedin ! true>
  2.         <HTML>
  3.         <HEAD>
  4.         <META HTTP-EQUIV="REFRESH" CONTENT="1; URL=index.htm">
  5.         </HEAD>
  6.         <BODY>
  7.         <FONT SIZE=+2 COLOR=#ff0000><B>Mail user not logged in!</B></FONT>
  8.         </BODY>
  9.         </HTML>
  10. <RCexit>
  11. <RCendif>
  12.  
  13. <RCXmailverify>
  14. <HTML>
  15. <HEAD>
  16. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  17. <META HTTP-EQUIV="Expires" CONTENT="-1">
  18. <LINK REL="StyleSheet" HREF="<RCShome>/default.css" type="text/css">
  19.  
  20. <TITLE>Create a New Mailing List</TITLE>
  21. </HEAD>
  22. <BODY BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#0000ff" ALINK="#0000ff" TEXT="#000000">
  23.  
  24. <SCRIPT language="JavaScript">
  25. <!--
  26.  
  27. var inValid = ":|/ ";
  28.  
  29. function Form_Validator(theForm)
  30. {
  31.     var alertstr = "Please correct the following\n";
  32.  
  33.     if (theForm.name.value == "")
  34.     {
  35.         alert(alertstr + "Enter a value for the \"Mailing List\" field.");
  36.         theForm.name.focus();
  37.         return (false);
  38.     }
  39.  
  40.     if (theForm.email.value == "")
  41.     {
  42.         alert(alertstr + "Enter a value for the \"List Administrators\" field.");
  43.         theForm.email.focus();
  44.         return (false);
  45.     }
  46.  
  47.     for (j = 0; j < theForm.name.value.length; j++)
  48.     {
  49.         if (inValid.indexOf(theForm.name.value.charAt(j)) != -1)
  50.         {
  51.             alert(alertstr + "The \"Mailing List\" contains invalid characters (:|/ )");
  52.             theForm.name.focus();
  53.             return (false);
  54.         }
  55.     }
  56. }
  57. //-->
  58. </SCRIPT>
  59.  
  60. <RCinclude RCShome/actions.stm>
  61.  
  62.     <FORM METHOD="POST" ACTION="/session/mlistcreate" 
  63.         onsubmit="return Form_Validator(this)">
  64.     <INPUT TYPE="hidden" NAME="RCpage" VALUE="<RCShome>/mlist.stm">
  65.  
  66.     <TABLE border=0 cellpadding=5 cellspacing=2 width=550>
  67.     <TR valign=top>
  68.     <TD align=right><B>Mailing List</B></TD>
  69.     <TD><INPUT TYPE="text" NAME="name" VALUE="" SIZE=40 MAXLENGTH=200>
  70.     <BR>
  71.     For machines hosting multiple domains, the mailing list name can 
  72.     include the domain to allow for host-specific email addresses.  
  73.     For example, the mailing list <CODE>all@sambar.com</CODE>
  74.     and <CODE>all@sambar.org</CODE> are both hosted on the same machine
  75.     but are separate mailing lists, whereas the mailing list 
  76.     <CODE>webmaster</CODE> results in mail to a mailing list of either 
  77.     domain being distributed to the same mailing list 
  78.     subscribers.
  79.     </TD>
  80.     </TR>
  81.     <TR VALIGN=top>
  82.     <TD align=right><B>Allow users to subscribe?</B></TD>
  83.     <TD><INPUT TYPE=radio NAME=newusers VALUE="yes" CHECKED> Yes
  84.         <INPUT TYPE=radio NAME=newusers VALUE="no"> No</TD>
  85.     </TR>
  86.     <TR VALIGN=top>
  87.     <TD align=right><B>Who can post...</B></TD>
  88.     <TD>
  89.     <SELECT NAME="post">
  90.     <OPTION VALUE=all> All Users
  91.     <OPTION VALUE=subscribers SELECTED> List Subscribers
  92.     <OPTION VALUE=administrators> List Administrators
  93.     </SELECT>
  94.     </TD>
  95.     </TR>
  96.     <TR VALIGN=top>
  97.     <TD align=right><B>List Administrators</B></TD><TD>
  98.     <RCif RCEusername ~ *@*>
  99.     <INPUT TYPE="text" NAME="email" VALUE="<RCEusername>" SIZE=40 MAXLENGTH=200>
  100.     <RCelse>
  101.     <INPUT TYPE="text" NAME="email" VALUE="<RCEusername>@<RCEmailname>" SIZE=40 MAXLENGTH=200>
  102.     <RCendif>
  103.     <BR>Enter a comma-separated list of e-mail addresses.
  104.     </TD>
  105.     </TR>
  106.     <TR VALIGN=top>
  107.     <TD align=right><B>Outgoing Mail Account</B></TD>
  108.     <TD><INPUT TYPE="text" NAME="sender" VALUE="author" SIZE=40 MAXLENGTH=40><BR>
  109.     Outgoing from <B>author</B>, <B>list</B> or specify an e-mail address.
  110.     </TD>
  111.     </TR>
  112.     <TR VALIGN=top>
  113.     <TD align=right><B>Allow mail messages with attachments?</B></TD>
  114.     <TD><INPUT TYPE=radio NAME=attachments VALUE="yes" CHECKED> Yes
  115.         <INPUT TYPE=radio NAME=attachments VALUE="no"> No<BR>
  116.     If attachments are not allowed, all multipart mail messages are 
  117.     denied.  This may include MS Outlook HTML mail.
  118.     </TD>
  119.     </TR>
  120.     <TR VALIGN=top>
  121.     <TD align=right><B>Send mail to <I>author</I> of mail message?</B></TD>
  122.     <TD><INPUT TYPE=radio NAME=copyauthor VALUE="yes" CHECKED> Yes
  123.         <INPUT TYPE=radio NAME=copyauthor VALUE="no"> No<BR>
  124.     By not copying the <B>author</B> some bounce messages can be avoided.
  125.     </TD>
  126.     </TR>
  127.     <TR VALIGN=top>
  128.     <TD align=right><B>Reply-to Address</B></TD>
  129.     <TD><INPUT TYPE="text" NAME="replyto" VALUE="author" SIZE=40 MAXLENGTH=40><BR>
  130.     Reply-to from <B>author</B>, <B>list</B> or specify an e-mail address.
  131.     </TD>
  132.     </TR>
  133.     <TR VALIGN=top>
  134.     <TD align=right><B>Faulty addresses...</B></TD>
  135.     <TD>
  136.     <INPUT TYPE="radio" NAME="badaddr" VALUE="unsubscribe" CHECKED> Unsubscribe<BR>
  137.     <INPUT TYPE="radio" NAME="badaddr" VALUE="forward"> Forward<BR>
  138.     <INPUT TYPE="radio" NAME="badaddr" VALUE="both"> Unsubscribe and Forward<BR>
  139.     <INPUT TYPE="radio" NAME="badaddr" VALUE="ignore"> Ignore<BR>
  140.     </TD>
  141.     </TR>
  142.     <TR VALIGN=top>
  143.     <TD align=right><B>Maximum Users</B></TD>
  144.     <TD>
  145.     <INPUT TYPE="text" NAME="maxusers" VALUE="0"><BR>
  146.     The maximum users permitted to subscribe to the list.
  147.     A value of zero (0) indicates unlimited number of users are 
  148.     allowed.
  149.     </TD>
  150.     </TR>
  151.     <TR VALIGN=top>
  152.     <TD align=right><B>Maximum Message Size</B></TD>
  153.     <TD>
  154.     <INPUT TYPE="text" NAME="maxsize" VALUE="0"><BR>
  155.     The maximum message size (in bytes) permitted.
  156.     A value of zero (0) indicates unlimited size messages may be 
  157.     sent. (Note: the mail server may impose additional size limits.)
  158.     </TD>
  159.     </TR>
  160.     <TR VALIGN=top>
  161.     <TD align=right><B>Message Subject Prefix</B></TD>
  162.     <TD><INPUT TYPE="text" NAME="prefix" VALUE="" SIZE=40 MAXLENGTH=40>
  163.     </TD>
  164.     </TR>
  165.     <TR>
  166.     <TR VALIGN=top>
  167.     <TD align=right><B>Message Footer Message</B></TD>
  168.     <TD><TEXTAREA NAME="footer" ROWS=4 COLS=60></TEXTAREA>
  169.     </TD>
  170.     </TR>
  171.     <TR>
  172.     <TD></TD>
  173.     <TD><INPUT TYPE="submit" VALUE="Create Mailing List">
  174.     </TD>
  175.     </TR>
  176.     </TABLE>
  177.     </FORM>
  178.  
  179. </BODY>
  180. </HTML>
  181.