📄 showuserkill.asp
字号:
<!--#include file="passinc.asp" -->
<%
dim ei
set ei = server.createobject("easymail.usermessages")
'-----------------------------------------
ei.Load Session("wem")
allnum = ei.GetRejectEMailCount
%>
<HTML>
<HEAD>
<title>Corp.Email</title>
<LINK href="images\hwem.css" rel=stylesheet>
</HEAD>
<SCRIPT LANGUAGE=javascript>
<!--
function del() {
if (ischeck() == true)
{
f1.mode.value = "del";
f1.submit();
}
}
function add() {
f1.mode.value = "add";
f1.submit();
}
function save() {
f1.mode.value = "save";
f1.submit();
}
function ischeck() {
var i = 0;
var theObj;
for(; i<<%=allnum %>; i++)
{
theObj = eval("f1.check" + i);
if (theObj != null)
if (theObj.checked == true)
return true;
}
return false;
}
//-->
</SCRIPT>
<BODY>
<br>
<br>
<FORM ACTION="saveuserkill.asp" METHOD="POST" NAME="f1">
<input type="hidden" name="mode">
<table width="90%" border="0" align="center" cellspacing="0" bgcolor="#EFF7FF" style='border-top:1px #8CA5B5 solid;'>
<tr>
<td colspan="2" height="28">
<input type="checkbox" name="checkrej" <%
if ei.UseReject = true then
response.write "checked"
end if
%>>
Enable Blocking</td>
</tr>
</table><br>
<table width="90%" border="0" align="center" cellspacing="0" bgcolor="#EFF7FF" style='border-top:1px #8CA5B5 solid;'>
<tr bgcolor="#dbeaf5" style='border:1px #8CA5B5 solid;font-size: 9pt;'>
<td colspan="2" height="28" style="border-bottom:1px #8CA5B5 solid;">
<div align="center"><font class="s" color="#104A7B"><b>Sender Blocking</b></font></div>
</td>
</tr>
<%
i = 0
do while i < allnum
response.write "<tr><td width='9%' height='25' align='center' style='border-bottom:1px #8CA5B5 solid;'><input type='checkbox' name='check" & i & "'></td><td width='91%' style='border-bottom:1px #8CA5B5 solid;'><input name='kill" & i & "' type='text' value='" & ei.GetRejectEMail(i) & "' size='70' maxlength='64' class='textbox'></td></tr>"
i = i + 1
loop
if request("mode") <> "" then
response.write "<tr><td width='9%' height='25' align='center' style='border-bottom:1px #8CA5B5 solid;'><input type='checkbox' name='check" & i & "'></td><td width='91%' style='border-bottom:1px #8CA5B5 solid;'><input name='kill" & i & "' type='text' size='70' maxlength='64' class='textbox'></td></tr>"
end if
%>
<tr>
<td colspan="2" align="right" bgcolor="#ffffff">
<br>
<input type="button" value=" Add " onclick="javascript:add()" class="Bsbttn">
<input type="button" value="Delete" onclick="javascript:del()" class="Bsbttn">
<input type="button" value=" Save " onclick="javascript:save()" class="Bsbttn">
<input type="button" value="Cancel" onclick="javascript:location.href='viewmailbox.asp?<%=getGRSN() %>';" class="Bsbttn">
</td>
</tr>
</table>
<br><br><br>
<div align="center">
<table width="90%" border="0" align="center" cellspacing="0" bgcolor="#EFF7FF" style='border-top:1px #8CA5B5 solid;'>
<tr>
<td colspan="2" height="10">
</td>
</tr>
<tr>
<td width="8%" valign="top"><font color="#FF3333"> *Note: </font></td>
<td width="92%">The system will block mails from specified mail addresses or mail address suffixes.<br>Supports asterisks (<font color="#FF3333">*</font>: content of any length. <font color="#FF3333">?</font>: any character.)
</td>
</tr>
<tr>
<td colspan="2" height="10">
</td>
</tr>
</table>
</div>
</FORM>
<br>
<div style="position: absolute; left: 20; top: 10;">
<a href="help.asp#showuserkill" target="_blank"><img src="images/help.gif" border="0" alt="Help"></a></div>
</BODY>
</HTML>
<%
set ei = nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -