Print Page | Close Window

Mail counter

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5303
Printed Date: 09 December 2025 at 10:12pm


Topic: Mail counter
Posted By: Guests
Subject: Mail counter
Date 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 ?




Replies:
Posted By: LogSat
Date 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

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: Guests
Date Posted: 12 August 2005 at 2:26am
Thank You


Posted By: keizersozay
Date 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>




Print Page | Close Window