[Spambayes] A few code questions (Outlook oriented)

Mark Hammond mhammond at skippinet.com.au
Wed Feb 19 21:37:17 EST 2003


[David]
> 1. Where in the code is the handler for the "delete as spam" button?

Pretty much all UI hooks are in addin.py - specifically,
ButtonDeleteAsSpamEvent.OnClick() is where the action is.

> 2. Where is the code for sending a spam to the spam folder (when it's
> determined to be spam upon fetching from the mail server).

Top-level ProcessMessage() in addin.py winds up calling filter.py.

> Now for the (probably) dumb question. I don't see how this works:

See Paul's reply, but for the sake of "<wink> value":
> If you enjoyed this interlude, go and watch comp.lang.python, where
> there are currently over 1000 messages on various proposals

was certainly in my mind when I wrote that :)

Paul again:
> (PS Mark, maybe you could rewrite the statement as a 4-line if, like
> I did above, just for clarity?)

But then life would be boring, and these cute little interludes would no
longer happen <wink>

Mark.




More information about the Spambayes mailing list