Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Mail counter
  FAQ FAQ  Forum Search   Register Register  Login Login

Mail counter

 Post Reply Post Reply
Author
Jakob Nielsen View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jakob Nielsen Quote  Post ReplyReply Direct Link To This Post Topic: Mail counter
    Posted: 11 August 2005 at 4:57am

If is possible to read the mail counter from the GUI interface(Mails forwarded, mails Blocked, mails attempts), so I can use it to making a statistics diagrams in asp ?

Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4106
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2005 at 9:54pm
Jakob,

The values for those counters are stored inthe SpamFilter.ini file, under the [stats] section. Their values are updated every 60 seconds. With ASP you should be able to access that file to read those values from it.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
Jakob Nielsen View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jakob Nielsen Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2005 at 2:26am
Thank You
Back to Top
keizersozay View Drop Down
Groupie
Groupie
Avatar

Joined: 26 January 2005
Location: United States
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote keizersozay Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2005 at 11:07am

Example asp code:

<table border="1" width="835">
  <tr>
     <td align="right" width="367">
          <p align="left"><font face="Arial" color="#008000"><strong><small>(Primary
          gateway email server ) EMails Forwarded:</small></strong></font></p&g t;
        </td>
        <td width="2"></td>
        <td align="right" width="40"><small><font face="Arial" color="#FF0000"><strong><%Response.Write ReadFromIniFile("E:\FTP-Root\SpamFilter2.ini","stats","EMail sForwarded:")%></strong></font></small> </td>
        <td width="16"></td>

        <td align="right" width="102"><font face="Arial" color="#008000"><small><strong>EMails Blocked:</strong></small></font></td> ;
        <td width="11"></td>
        <td align="right" width="43"><small><font face="Arial" color="#FF0000"><strong><%Response.Write ReadFromIniFile("E:\FTP-Root\SpamFilter2.ini","stats","EMail sBlocked")%></strong></font></small>< ;/td>

  <td align="right" width="119"><font face="Arial" color="#008000"><small><strong>EMails Attempted:</strong></small></font></td& gt;
        <td width="30"></td>
        <td align="right" width="41"><small><font face="Arial" color="#FF0000"><strong><%Response.Write ReadFromIniFile("E:\FTP-Root\SpamFilter2.ini","stats","Email sReceived")%></strong></font></small>&l t;/td>
        </tr>
</table>

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.160 seconds.