Conrad Hoffmann
5c422aba36
Use test-full-imap feature to enable QRESYNC test
...
This test works against most fully-featured IMAP servers, also e.g.
against the cyrus-imapd-tester. It was previously ignored because the
greenmail test server did not support it.
2023-01-17 10:44:35 +01:00
Edward Rudd
0a9297f0fc
fixup! add support for the imap quota extension (RFC 2087)
2022-10-18 22:34:10 -04:00
Edward Rudd
f57dfd4a0c
fixup! add support for the imap quota extension (RFC 2087)
2022-10-18 21:43:52 -04:00
Edward Rudd
57ce6bb545
add support for the imap quota extension (RFC 2087)
2022-09-26 14:21:55 -04:00
Edward Rudd
b12eda4924
implement ACL extension
2022-09-05 15:22:03 -04:00
Conrad Hoffmann
cc8166f9cf
Add integration test for QRESYNC extension
...
Ignored by default as it only works with Cyrus, not with Greenmail.
Test functionality added in #233 and #234 .
2022-08-02 11:53:09 +02:00
Edward Rudd
f616ea992e
update dependencies ( #236 )
...
- updated lettre
- required some changes to the imap_integration to support
- remove explicit hostname dep
2022-07-30 10:06:39 -04:00
Edward Rudd
38a4030ff9
update github actions to test against cyrus-imapd as well as greenmail
2022-07-26 04:19:47 -07:00
Edward Rudd
602ff8e4af
update integration tests to extract host/port fetching to centralized methods
2022-07-26 04:19:30 -07:00
Todd Mortimer
826e6d413b
Fix tests and examples.
2021-07-17 16:51:35 -04:00
mordak
b7a2641725
Change "tls" feature to "native-tls" ( #201 )
...
Change "tls" feature to "native-tls" for clarity and obvious distinction with rustls-tls.
2021-05-24 21:46:49 -04:00
comex
55cd6465c7
Support parsing STATUS responses. (v2) ( #192 )
...
Fixes #185 .
2021-05-16 18:12:16 -04:00
mordak
7204697dd9
Add ClientBuilder helper to make setting up TLS connections easy. ( #197 )
...
Also replaces connect() and connect_starttls() with ClientBuilder.
2021-05-10 22:39:46 -04:00
Clément DOUIN
2898e19530
RFC 5256 - SORT command ( #180 )
2021-04-19 23:03:23 -04:00
Jon Gjengset
9b78550394
Adopt latest imap_proto and expose error status codes
2021-03-06 14:53:14 -08:00
Michael Bøcker-Larsen
80f54b1e81
test: correct test for append_with_flags
2020-12-22 20:31:55 +08:00
Michael Bøcker-Larsen
8cd8a21008
refactor: rename run to finish
2020-12-21 11:21:22 +08:00
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