nsMsgRuleActionType

Defined in comm-central/ mailnews/ base/ search/ public/ nsMsgFilterCore.idl

typedef long nsMsgRuleActionType;

[scriptable, uuid(59af7696-1e28-4642-a400-fa327ae0b8d8)]
interface nsMsgFilterAction {

    /* if you change these, you need to update filter.properties,
       look for filterActionX */
    /* these longs are all actually of type nsMsgFilterActionType */
    const long Custom=-1;     /* see nsMsgFilterAction */
    const long None=0;        /* uninitialized state */
    const long MoveToFolder=1;
    const long ChangePriority=2;
    const long Delete=3;
    const long MarkRead=4;
    const long KillThread=5;
    const long WatchThread=6;
    const long MarkFlagged=7;
    const long Label=8;
    const long Reply=9;
    const long Forward=10;
    const long StopExecution=11;
    const long DeleteFromPop3Server=12;
    const long LeaveOnPop3Server=13;
    const long JunkScore=14;
    const long FetchBodyFromPop3Server=15;
    const long CopyToFolder=16;
    const long AddTag=17;
    const long KillSubthread=18;
    const long MarkUnread=19;       
};