📄 delmail.asp
字号:
<!--#include file="passinc.asp" -->
<%
dim tmpfile
tmpfile = trim(request("filename"))
tmpfile = Mid(tmpfile, Len(tmpfile) - 2, 3)
realdel = trim(request("realdel"))
dim ei
set ei = server.createobject("easymail.InfoList")
'-----------------------------------------
if realdel <> "1" then
if tmpfile = "del" then
ei.DelMail Session("wem"), trim(request("filename"))
else
ei.MoveMail Session("wem"), trim(request("filename")), "del"
end if
else
ei.DelMail Session("wem"), trim(request("filename"))
end if
set ei = nothing
if err.Number = 0 then
if trim(request("nextfile")) = "" then
if trim(request("gourl")) = "" then
response.redirect "ok.asp"
else
response.redirect "ok.asp?gourl=" & Server.URLEncode(trim(request("gourl")))
end if
else
response.redirect "showmail.asp?filename=" & trim(request("nextfile")) & "&gourl=" & Server.URLEncode(trim(request("gourl")))
end if
else
response.redirect "err.asp"
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -