Michael Bøcker-Larsen
5053cfbb3e
feat: add 'flags' method to add multiple flags at once
2020-12-20 13:04:31 +08:00
Michael Bøcker-Larsen
b7bc842979
fix: correct lifetimes and types for append
2020-12-20 13:03:54 +08:00
Michael Bøcker-Larsen
cdf320fb0c
refactor: use AppendCmd instead of AppendOptions
2020-12-17 11:02:48 +08:00
Michael Bøcker-Larsen
469d338d5d
refactor: combine all append_* + introduce AppendOptions
2020-12-17 00:41:01 +08:00
Michael Bøcker-Larsen
ee56c8e42b
feat: allow setting sent date on APPEND ( #174 )
...
Fixes #60
2020-12-15 11:25:38 -05:00
mordak
ae07c9f31c
Add append_with_flags ( #171 )
...
Allows a client to set flags on a new message as it is appended to a mailbox.
2020-08-23 12:02:57 -04:00
Jon Gjengset
949ea3bd6b
Bump dependencies
...
This also pulls in imap-proto 0.11, which exposes message envelopes as
`&[u8]` instead of `&str`. This directly affects our public API.
2020-02-20 12:49:25 -05:00
Bryce Fisher-Fleig
6fcc189d11
(nit) cargo fmt
2019-09-24 08:13:17 -07:00
Bryce Fisher-Fleig
29fece1221
(security) Remove connect_insecure
...
In order to discourage folks from connecting securely, we're removing the
convenience method imap::connect_insecure.
Fear not\! For those who manage security in another way (aka a private network
or similar measures), it is still possible to connect without TLS by using the
imap::Client::new() method. See that method for examples of how to do this.
2019-09-24 08:13:17 -07:00
Jon Gjengset
f55674b522
Make it actually compile
2019-09-03 11:51:38 -04:00
Jon Gjengset
a1bc689504
Maybe make coverage tests work?
2019-09-03 11:48:59 -04:00
Jon Gjengset
cd2c3a58c5
Not localhost from coverage container
2019-09-03 11:18:10 -04:00
Baudouin Feildel
e9f6a33bd5
Add Fetch.internal_date method ( #113 )
...
This method gives the parsed internal date from the FETCH answer.
2019-06-28 17:39:10 -04:00
Jon Gjengset
21cb6f83fa
Restore test that passes in 1.5.9
2018-12-04 10:39:00 -05:00
Jon Gjengset
6d158e7eb5
GreenMail 1.5.9 allows empty SEARCH
2018-11-28 09:51:45 -05:00
Jon Gjengset
9353493139
Make sure tests get run by coverage
2018-11-22 20:56:41 -05:00
Jon Gjengset
e52290e8dd
list test isn't done yet
2018-11-22 20:56:41 -05:00
Jon Gjengset
c393fd7162
Add Travis integration testing
...
This uses [GreenMail's Docker
image](http://www.icegreen.com/greenmail/#deploy_docker_standalone ) to
spin up a real SMTP+IMAP server on Travis, and then runs a series of
integration tests against it by sending e-mails using
[`lettre`](https://crates.io/crates/lettre ) and checking that we can
receive them correctly.
A start on #101 .
2018-11-22 20:56:41 -05:00