@mozilla.org/messenger/spamsettings;1

This component implements the following interfaces:

Constants

PRInt32 nsISpamSettings.MOVE_TARGET_MODE_ACCOUNT = 0
PRInt32 nsISpamSettings.MOVE_TARGET_MODE_FOLDER = 1
PRInt32 nsISpamSettings.MANUAL_MARK_MODE_MOVE = 0
PRInt32 nsISpamSettings.MANUAL_MARK_MODE_DELETE = 1
PRInt32 nsISpamSettings.TRUST_POSITIVES = 1
PRInt32 nsISpamSettings.TRUST_NEGATIVES = 2

Properties

char* nsISpamSettings.actionTargetAccount

char* nsISpamSettings.actionTargetFolder

PRInt32 nsISpamSettings.level

0 for nothing, 100 for highest

PRBool nsISpamSettings.loggingEnabled

nsIOutputStream nsISpamSettings.logStream

readonly char* nsISpamSettings.logURL

PRBool nsISpamSettings.manualMark

Should we do something (move or delete) when the user manually marks a message as junk?

PRInt32 nsISpamSettings.manualMarkMode

PRBool nsISpamSettings.markAsReadOnSpam

PRBool nsISpamSettings.moveOnSpam

PRInt32 nsISpamSettings.moveTargetMode

Most consumers will just use spamFolderURI rather than accessing any of target attributes directly.

PRBool nsISpamSettings.purge

PRInt32 nsISpamSettings.purgeInterval

Interval, in days

nsIMsgIncomingServer nsISpamSettings.server

ACString nsISpamSettings.serverFilterName

PRInt32 nsISpamSettings.serverFilterTrustFlags

readonly char* nsISpamSettings.spamFolderURI

Built from moveTargetMode, actionTargetAccount, actionTargetFolder

PRBool nsISpamSettings.useServerFilter

Integrate with server-side spam detection programs

PRBool nsISpamSettings.useWhiteList

char* nsISpamSettings.whiteListAbURI

Methods

InterfaceMethod
nsISpamSettings void clearLog ( )
nsISpamSettings void clone ( nsISpamSettings spamSettings )
nsISpamSettings void ensureLogFile ( )
nsISpamSettings void flushLogIfNecessary ( )
nsISpamSettings void logJunkHit ( nsIMsgDBHdr msgHdr , PRBool moveMessage )
nsISpamSettings void logJunkString ( char* logText )
nsIUrlListener void OnStartRunningUrl ( nsIURI url )
nsIUrlListener void OnStopRunningUrl ( nsIURI url , nsresult exitCode )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com