Commit Graph

1 Commits (9bfa5551a07428272504810fa4d54e5012b6ade0)

Author SHA1 Message Date
Benedikt Terhechte 9bfa5551a0
Maildir support (#35)
* Initial Maildir importer code

* Copied bluebird75 maildir test data into the repository

The data comes from
https://github.com/bluebird75/maildir2mbox

* Allow already-parsed emails as importer input

* Switched to mail-parser

It is a littlebit slower but brings some advantages:

- It parses all my emails without a hitch. Which means there's no need
  for a custom fork anymore.
- It supports emails both with CRLF and LF. Maildir seems to like storing
  mails in LF so the former email-parser failed all those mails.

* Fix bug when selecting to_* fields

* Disable Windows Support for maildir at it is not supported by the crate

* Added maildir test

* Should also not use maildir in the windows Cargo.toml

* What a typo

* Maybe this does the trick

* Forgot one
2 years ago