Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hughbe/outlookrulesreader

Specification for Outlook rules (rwz) files and experimental implementation of a reader/writer in Swift
https://github.com/hughbe/outlookrulesreader

Last synced: 2 months ago
JSON representation

Specification for Outlook rules (rwz) files and experimental implementation of a reader/writer in Swift

Awesome Lists containing this project

README

        

# 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](https://github.com/hughbe/OutlookRulesReader/blob/main/docs/RWZ%20Format.pdf).

## Example Usage

```swift
let data = Data(contentsOfFile: ".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!