OutlookRulesReader
OutlookRulesReader copied to clipboard
Specification for Outlook rules (rwz) files and experimental implementation of a reader/writer in Swift
OutlookRulesReader
OutlookRulesReader is a reader of Outlook rules (rwz) files.
Outlook Rules Wizard File (.rwz) Specification
A PDF of the working specification for Outlook rules files (.rwz) files can be found here.
Example Usage
let data = Data(contentsOfFile: "<path-to-file>.rwz")!
let file = try OutlookRulesFile(data: data)
print(file.rules.count)
print(file.rules[0].name)
print(file.rules[0].enabled)
print(file.rules[0].conditions.count)
print(file.rules[0].actions.count)
print(file.rules[0].exceptions.count)
Contributing
All contributions to the specification and the implementation library are welcome and encouraged!