@mozilla.org/messenger/filter-plugin;1?name=bayesianfilter

This component implements the following interfaces:

Constants

Message classifications.
nsMsgJunkStatus nsIJunkMailPlugin.UNCLASSIFIED = 0
nsMsgJunkStatus nsIJunkMailPlugin.GOOD = 1
nsMsgJunkStatus nsIJunkMailPlugin.JUNK = 2

Properties

readonly PRBool nsIMsgFilterPlugin.shouldDownloadAllHeaders

Some protocols (ie IMAP) can, as an optimization, avoid downloading all message header lines. If your plugin doesn't need any more than the minimal set, it can return false for this attribute.

readonly PRBool nsIJunkMailPlugin.userHasClassified

Methods

InterfaceMethod
nsIJunkMailPlugin void classifyMessage ( char* msgURI , nsIMsgWindow msgWindow , nsIJunkMailClassificationListener listener )
nsIJunkMailPlugin void classifyMessages ( PRUint32 count , arrayof char* msgURIs , nsIMsgWindow msgWindow , nsIJunkMailClassificationListener listener )
nsIJunkMailPlugin void resetTrainingData ( )
nsIJunkMailPlugin void setMessageClassification ( char* msgURI , nsMsgJunkStatus oldUserClassification , nsMsgJunkStatus newClassification , nsIMsgWindow msgWindow , nsIJunkMailClassificationListener listener )
nsIMsgFilterPlugin void shutdown ( )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com