메소드 | 설명 | |
---|---|---|
CleanRuleActions ( string path, String storeName ) : string |
Cleans the actions in the rule list to remove the storename and formats for Google.
|
|
GetRules ( Store s, string storeName ) : List |
Gets a list of rules and associated actions from the given store Currently only working for rules defined on from addresses, will add support for other rules soon
|
|
GetStore ( string storeName ) : Store |
Gets the Outlook store (mailbox) for the given string if one exists.
|
|
GetStores ( ) : void |
Returns a list of stores (mailboxes and pst files) available in outlook Some or all of these stores can contain rules that can be exported
|
|
PrintCSV ( List |
Print the rules in CSV format to the console
|
|
PrintXML ( List |
Prints the rules to an XML file called rules.xml in the current dir. This was a real pain to get working correctly.
|
메소드 | 설명 | |
---|---|---|
Main ( string args ) : void | ||
ParseBody ( Rule r, |
||
ParseFromAddresses ( Rule r, |
condition from email address & move to folder mupports multiple addresses in the from
|
|
ParseLabelCopy ( Rule r, |
Parses a rule for the CopyToFolder action Converts the action of a GMail label but does not set the ShouldArchive option
|
|
ParseLabelMove ( Rule r, |
Parses a rule for MoveToFolder actions Converts this to a GMail label also sets the ShouldArchive option on the gmail filter which applies the label makes the mail skip the gmail inbox
|
|
ParseSubject ( Rule r, |
||
PrintHelp ( ) : void |
public static CleanRuleActions ( string path, String storeName ) : string | ||
path | string | |
storeName | String | |
리턴 | string |
public static GetRules ( Store s, string storeName ) : List |
||
s | Store | |
storeName | string | |
리턴 | List |
public static PrintXML ( List |
||
rules | List |
|
filename | string | |
리턴 | void |