WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
@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
| Interface | Method |
|---|---|
| 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.
