home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <title>Status</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
- set Result = POP3.Status()
- if POP3.IsError = 1 then
- Response.Write POP3.ErrorReason & "<br>"
- else
- Response.Write "Mails Count = " & Result.Count & "<br>"
- Response.Write "Mails Size = " & Result.Size & "<br>"
- end if
- set Result = Nothing
- set POP3 = Nothing
- %>
- <A HREF="dsp_status.htm">Back</A>
- </body>
- </html>
-