home *** CD-ROM | disk | FTP | other *** search
ColdFusion Markup Language | 2001-08-12 | 710 b | 26 lines |
- <html>
- <head>
- <title>Status</title>
- </head>
- <body>
- <cfobject class="AdvPOP3.POP3" action="CREATE" name="AdvPOP3">
- <cfset AdvPOP3.ServerName = #Form.ServerName#>
- <cfset AdvPOP3.UserName = #Form.UserName#>
- <cfset AdvPOP3.Password = #Form.Password#>
- <cfif Len(Trim(Form.Port)) neq 0>
- <cfset AdvPOP3.Port = #Form.Port#>
- </cfif>
- <cfif Len(Trim(Form.Timeout)) neq 0>
- <cfset AdvPOP3.Timeout = #Form.Timeout#>
- </cfif>
- <cfset Result = AdvPOP3.Status()>
- <cfif #AdvPOP3.IsError# Eq 1 >
- <cfoutput>#AdvPOP3.ErrorReason#</cfoutput> <br>
- <cfelse>
- <cfoutput>Mails Count = #Result.Count# <br>
- Mails Size = #Result.Size# <br></cfoutput>
- </cfif>
- <A HREF="dsp_status.htm">Back</A>
- </body>
- </html>
-