RblFilterLog Property |
Namespace: MailBee.AntiSpam
This property is never a null reference (Nothing in Visual Basic) even if logging is not used.
Note |
---|
In log files, IP addresses being checked appear in reversed form. E.g. if you check "11.22.33.44" against "rbl.org" RBL, the entry in the log file will look like "44.33.22.11.rbl.org". This is how RBL checking works. |
// To use the code below, import MailBee namespaces at the top of your code. using MailBee; using MailBee.AntiSpam; // The actual code (put it into a method of your class) RblFilter rbl = new RblFilter(); rbl.Log.Enabled = true; rbl.Log.Filename = @"C:\Temp\log.txt"; rbl.Log.Format = LogFormatOptions.AddContextInfo; rbl.Log.Clear();