nsISpamSettings
| IID: | 60BF2B22-AA8C-4cb2-80C8-ADC8B508E425 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Constants
| PRInt32 | MOVE_TARGET_MODE_ACCOUNT | = 0 |
| PRInt32 | MOVE_TARGET_MODE_FOLDER | = 1 |
| PRInt32 | MANUAL_MARK_MODE_MOVE | = 0 |
| PRInt32 | MANUAL_MARK_MODE_DELETE | = 1 |
| PRInt32 | TRUST_POSITIVES | = 1 |
| PRInt32 | TRUST_NEGATIVES | = 2 |
Properties
char* actionTargetAccount
char* actionTargetFolder
PRInt32 level
0 for nothing, 100 for highest
readonly PRBool loggingEnabled
nsIOutputStream logStream
readonly PRBool manualMark
Should we do something (move or delete) when the user manually marks a message as junk?
readonly PRInt32 manualMarkMode
readonly PRBool markAsReadOnSpam
PRBool moveOnSpam
PRInt32 moveTargetMode
Most consumers will just use spamFolderURI rather than accessing any of target attributes directly.
PRBool purge
PRInt32 purgeInterval
Interval, in days
readonly nsIFile serverFilterFile
ACString serverFilterName
PRInt32 serverFilterTrustFlags
readonly char* spamFolderURI
Built from moveTargetMode, actionTargetAccount, actionTargetFolder
PRBool useServerFilter
Integrate with server-side spam detection programs
PRBool useWhiteList
char* whiteListAbURI
Methods
void clone ( nsISpamSettings spamSettings )
void initialize ( nsIMsgIncomingServer server )
void logJunkHit ( nsIMsgDBHdr msgHdr , PRBool moveMessage )
void logJunkString ( char* logText )
void initialize ( nsIMsgIncomingServer server )
- Arguments:
- server
void logJunkHit ( nsIMsgDBHdr msgHdr , PRBool moveMessage )
- Arguments:
- msgHdr
- moveMessage
References
This interface is the type of the following properties:
nsIMsgIncomingServer.spamSettings
This interface is passed as an argument to the following methods:
Reference documentation is generated from Mozilla's source.
