home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 February / PCWorld_2001-02_cd.bin / Software / Topware / Sambar / _setup.1 / newlist.stm < prev    next >
Text File  |  2000-12-03  |  4KB  |  123 lines

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  4. </HEAD>
  5. <BODY bgcolor=#ffffff>
  6. <CENTER><FONT SIZE=6>Create a New Mailing List</FONT></CENTER>
  7. <BR>
  8. <SCRIPT language="JavaScript">
  9. <!--
  10.  
  11. var strValid = "-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
  12.  
  13. function Form_Validator(theForm)
  14. {
  15.     var alertstr = "Please correct the following\n";
  16.  
  17.     if (theForm.name.value == "")
  18.     {
  19.         alert(alertstr + "Enter a value for the \"Mailing List\" field.");
  20.         theForm.name.focus();
  21.         return (false);
  22.     }
  23.  
  24.     for (j = 0; j < theForm.name.value.length; j++)
  25.     {
  26.         if (strValid.indexOf(theForm.name.value.charAt(j)) == -1)
  27.         {
  28.             alert(alertstr + "The \"Mailing List\" contains invalid characters.");
  29.             theForm.name.focus();
  30.             return (false);
  31.         }
  32.     }
  33. }
  34. //-->
  35. </SCRIPT>
  36. <BR>
  37. <FORM METHOD="POST" ACTION="/session/mlistcreate" TARGET="_top" onsubmit="return Form_Validator(this)">
  38. <INPUT TYPE="hidden" NAME="RCpage" VALUE="/sysadmin/maillist/index.htm">
  39.  
  40. <TABLE border=0 cellpadding=5 cellspacing=2 width=550>
  41. <TR valign=top>
  42. <TD align=right><B>Mailing List</B></TD>
  43. <TD><INPUT TYPE="text" NAME="name" VALUE="" SIZE=40 MAXLENGTH=40>
  44. <BR>
  45. <I>The Mailing List name can only have alpha-numeric characters.</I>
  46. </TD>
  47. </TR>
  48. <TR VALIGN=top>
  49. <TD align=right><B>Allow users to subscribe?</B></TD>
  50. <TD><INPUT TYPE=radio NAME=newusers VALUE="yes" CHECKED> Yes
  51.     <INPUT TYPE=radio NAME=newusers VALUE="no"> No</TD>
  52. </TR>
  53. <TR VALIGN=top>
  54. <TD align=right><B>Who can post...</B></TD>
  55. <TD>
  56. <SELECT NAME="post">
  57. <OPTION VALUE=all> All Users
  58. <OPTION VALUE=subscribers SELECTED> List Subscribers
  59. <OPTION VALUE=administrators> List Administrators
  60. </SELECT>
  61. </TR>
  62. <TR VALIGN=top>
  63. <TD align=right><B>List Administrators</B></TD>
  64. <TD><INPUT TYPE="text" NAME="email" VALUE="" SIZE=40 MAXLENGTH=200><BR>
  65. <font size=-1><i>Enter a comma-separated list of e-mail addresses.</i></font>
  66. </TD>
  67. </TR>
  68. <TR VALIGN=top>
  69. <TD align=right><B>Outgoing Mail Account</B></TD>
  70. <TD><INPUT TYPE="text" NAME="sender" VALUE="author" SIZE=40 MAXLENGTH=40><BR>
  71. <font size=-1><i>Outgoing from <B>author</B> or specify an e-mail address</i></font>
  72. </TD>
  73. </TR>
  74. <TR VALIGN=top>
  75. <TD align=right><B>Send mail to <I>author</I> of mail message?</B></TD>
  76. <TD><INPUT TYPE=radio NAME=copyauthor VALUE="yes" CHECKED> Yes
  77.     <INPUT TYPE=radio NAME=copyauthor VALUE="no"> No<BR>
  78. <font size=-1><i>By not copying the <B>author</B> some bounce messages can be avoided</i></font>
  79. </TD>
  80. <TR VALIGN=top>
  81. <TD align=right><B>Reply-to Address</B></TD>
  82. <TD><INPUT TYPE="text" NAME="replyto" VALUE="author" SIZE=40 MAXLENGTH=40><BR>
  83. <font size=-1><i>Reply-to from <B>author</B> or specify an e-mail address</i></font>
  84. </TD>
  85. </TR>
  86. <TR VALIGN=top>
  87. <TD align=right><B>Faulty addresses...</B></TD>
  88. <TD>
  89. <INPUT TYPE="radio" NAME="badaddr" VALUE="unsubscribe" CHECKED> Unsubscribe<BR>
  90. <INPUT TYPE="radio" NAME="badaddr" VALUE="forward"> Forward<BR>
  91. <INPUT TYPE="radio" NAME="badaddr" VALUE="both"> Both<BR>
  92. </TD>
  93. </TR>
  94. <TR VALIGN=top>
  95. <TD align=right><B>Maximum Users</B></TD>
  96. <TD>
  97. <INPUT TYPE="text" NAME="maxusers" VALUE="0"><BR>
  98. <font size=-1><i>The maximum users permitted to subscribe to the list.
  99. A value of zero (0) indicates unlimited number of users are allowed.</i></font>
  100. </TD>
  101. </TR>
  102. <TR VALIGN=top>
  103. <TD align=right><B>Maximum Message Size</B></TD>
  104. <TD>
  105. <INPUT TYPE="text" NAME="maxsize" VALUE="0"><BR>
  106. <font size=-1><i>The maximum message size (in bytes) permitted.
  107. A value of zero (0) indicates unlimited size messages may be sent.</i></font>
  108. </TD>
  109. </TR>
  110. <TR VALIGN=top>
  111. <TD align=right><B>Message Subject Prefix</B></TD>
  112. <TD><INPUT TYPE="text" NAME="prefix" VALUE="" SIZE=40 MAXLENGTH=40>
  113. </TD>
  114. </TR>
  115. <TR>
  116. <TD></TD><TD><INPUT TYPE="submit" VALUE="Create Mailing List"></TD>
  117. </TR>
  118. </TABLE>
  119. </FORM>
  120. </CENTER>
  121. </BODY>
  122. </HTML>
  123.