home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.americansys.com
/
2014.06.ftp.americansys.com.tar
/
ftp.americansys.com
/
spamcrusherenterprise.exe
/
web
/
procemailaddresses.asp
< prev
next >
Wrap
Text File
|
2003-10-22
|
1KB
|
54 lines
<html>
<head>
<title>Spam Crusher</title>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body>
<script LANGUAGE="VBScript" RUNAT="Server">
</script>
<!--#include FILE="header.asp"-->
<p align="center"><font size="5">Processing...</font></p>
<%
EOLN = chr(13) + chr(10)
Add = Request.Form("btnAdd")
Delete = Request.Form("btnDelete")
DeleteAcct = Request.Form("btnDeleteAccount")
Acct = Request.QueryString("Account")
if (Delete<>"") then
Set SpamCrusher = Server.CreateObject("SpamCrusherEnterprise.SpamCrusherEnte.1")
SpamCrusher.SetCurrentUser(Session("UserId"))
Addrs = Request.Form("lstAddresses")
SpamCrusher.DeleteEmailAddress Acct, Addrs
SpamCrusher.Logoff()
Response.Redirect("accountdetail.asp?Account=" + Acct)
ElseIf (DeleteAcct<>"") then
Set SpamCrusher = Server.CreateObject("SpamCrusherEnterprise.SpamCrusherEnte.1")
SpamCrusher.SetCurrentUser(Session("UserId"))
SpamCrusher.DeleteAccount(Acct)
SpamCrusher.Logoff()
Response.Redirect("accounts.asp")
Else
' add button
Response.Redirect("addemailaddress.asp?Account=" + Acct)
End If
Response.Write("")
%>
</body>
</html>