home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <title>Delete</title>
- </head>
- <body>
- <%
- dim POP3
- set POP3 = Server.CreateObject("AdvPOP3.POP3")
- POP3.ServerName = Request.Form("ServerName")
- POP3.UserName = Request.Form("UserName")
- POP3.Password = Request.Form("Password")
- if (Request.Form("Port") <> "") then
- POP3.Port = Request.Form("Port")
- end if
- if (Request.Form("Timeout") <> "") then
- POP3.Timeout = Request.Form("Timeout")
- end if
- POP3.MessageNumber = Request.Form("MessageNumber")
- POP3.Delete()
- if POP3.IsError = 1 then
- Response.Write POP3.ErrorReason & "<br>"
- else
- Response.Write "Successfully deleted<br>"
- end if
- set POP3 = Nothing
- %>
- <A HREF="dsp_status.htm">Back</A>
- </body>
- </html>
-