Commit Graph

180 Commits

Author SHA1 Message Date
Vincent Richard
99d919c6d7 Fixed unit test. 2014-04-21 20:13:17 +02:00
Vincent Richard
bbfdcc36a0 Trace socket/connection events. 2014-03-25 23:34:03 +01:00
Vincent Richard
9b3f8124f1 Unit tests for IMAP utils. 2014-03-17 23:51:54 +01:00
Vincent Richard
84e570bbbb Connection trace facility. 2014-03-16 22:52:40 +01:00
Vincent Richard
cfe9c6b1e7 Modified IMAP parser constructor to make testing easier. 2014-03-16 09:57:36 +01:00
Vincent Richard
9d73fc5382 IMAP commands. 2014-03-15 23:33:20 +01:00
Vincent Richard
c860c273d3 Added support for initial response in SASL authentication. 2014-02-13 22:23:59 +01:00
Vincent Richard
0d20ee083b Better polling. Fixed possible connection issues on POSIX with slow network. Better error handling in POSIX sockets. 2014-02-05 20:18:20 +01:00
Vincent Richard
58bad6e488 Path to/from string conversion. 2014-01-19 17:25:25 +01:00
Vincent Richard
2afe340b7b In SSL socket, use timeout handler of underlying socket. Throw exception when reading from/writing to disconnected SSL socket. 2014-01-19 16:36:45 +01:00
Vincent Richard
24eff0069b Added test for "+" not followed by space in continue_req. 2014-01-16 22:51:33 +01:00
Vincent Richard
ef892af655 Do not make calls to setlocale() in a library. Use default user locale in tests and examples. 2014-01-16 00:27:51 +01:00
Vincent Richard
d0ffbb60e6 Use equivalence instead of strict equality for path components. 2014-01-16 00:15:21 +01:00
Vincent Richard
fe43da096f Reset line length after encoding a hard line break in QP encoding. 2014-01-14 08:18:24 +01:00
Vincent Richard
8e51494486 Report sending progress when chunking is supported. 2014-01-05 13:53:44 +01:00
Vincent Richard
bd378bbfa2 Added support for SPECIAL-USE extension (IMAP). 2014-01-03 20:41:32 +01:00
Vincent Richard
7e265b05f4 Simplified types for better readability. Use appropriate types (size_t, byte_t...). Minor warning fixes. 2013-12-10 08:52:51 +01:00
Vincent Richard
2232b60430 Fixed possible segfault caused by use of static string. 2013-11-28 21:17:17 +01:00
Vincent Richard
96077ce7e6 Do not throw exception for normal code flow (exceptions::no_such_field). 2013-11-22 13:32:52 +01:00
Vincent Richard
f9913fa28a Boost/C++11 shared pointers. 2013-11-21 22:16:57 +01:00
Vincent Richard
e760842265 Use "std::map" instead of "propertySet" in url class. 2013-11-15 21:46:03 +01:00
Vincent Richard
5915ca4e34 Custom fetch attributes. 2013-11-14 23:17:40 +01:00
Vincent Richard
29954e5e50 Fixed group parsing in mailboxList. 2013-10-16 19:47:24 +02:00
Vincent Richard
3b13021469 SMTP-specific exceptions. 2013-09-08 20:49:51 +02:00
Vincent Richard
759a89fcfd Added test for SMTP connection error. 2013-08-16 11:41:55 +02:00
Vincent Richard
757f8a7dc7 Fixed segfault at POP3 connection error. 2013-08-16 11:41:25 +02:00
Vincent Richard
8cd361ff8c Added support for enhanced status codes (RFC-3463). 2013-08-14 21:49:24 +02:00
Vincent Richard
b0845eff0d Allow messages to be designated either by their number or their UID.
Warning: this is an API-breaking change.
2013-07-26 14:47:30 +02:00
Vincent Richard
b886cd4864 Refactored the way embedded objects are referenced in MHTML. 2013-07-11 18:06:26 +02:00
Vincent Richard
86f0a63802 Do not QP-encode CRLFs when content type is text. 2013-06-27 13:56:55 +02:00
Vincent Richard
de659db112 Removed debug printf. 2013-06-27 07:54:33 +02:00
Vincent Richard
1a30cfe41b Unit tests for content handlers. 2013-06-26 21:41:42 +02:00
Vincent Richard
895b07cae9 Added support for SIZE SMTP extension (RFC-1870). 2013-06-24 15:32:40 +02:00
Vincent Richard
87f6acb0b5 Return after sending message when sending is supported. 2013-06-22 10:42:36 +02:00
Vincent Richard
eee80fc81e Added support for CHUNKING SMTP extension (RFC-3030). More robust unit tests for SMTP. 2013-06-20 11:02:39 +02:00
Vincent Richard
2e5574b146 Added support for transport padding in boundary (issue #38). 2013-06-13 12:00:42 +02:00
Vincent Richard
93c8d3a071 Added support for SMTPUTF8 extension (RFC-6531). 2013-06-12 21:19:36 +02:00
Vincent Richard
7ab35173bc Moved POP3 connection-related things to POP3Connection object. 2013-06-12 14:02:40 +02:00
Vincent Richard
dfe563f391 Moved POP3 client command related things to POP3Command class. 2013-06-11 22:50:44 +02:00
Vincent Richard
02e1cf65ab Fixed comment. 2013-06-09 10:24:56 +02:00
Vincent Richard
66f3c68a6c Removed test as it is invalid. 2013-05-14 19:47:56 +02:00
Vincent Richard
1d7e9142be Explicit platform handler initialization is not needed anymore. 2013-05-12 19:51:13 +02:00
Vincent Richard
ee68f6c06f Allow SPACEs at end of response line (Apple iCloud IMAP server). 2013-04-26 22:52:13 +02:00
Vincent Richard
5a3d88855b Added unit tests for IMAPTag. Initialize sequence number at 1. 2013-04-26 22:47:51 +02:00
Vincent Richard
462311e382 Added filtered output stream to transform LFs to CRLFs. 2013-04-16 12:03:13 +02:00
Vincent Richard
9d2703c376 Added support for charset conversion with ICU (thanks to Mehmet Bozkurt). 2013-03-25 12:32:48 +01:00
Vincent Richard
32eb1ebe34 Strip spaces at end of header lines (Zarafa). 2013-03-24 15:50:16 +01:00
Vincent Richard
21945be4c4 Fixed warnings and 64-bit issues. 2013-03-24 12:30:26 +01:00
Vincent Richard
495526a5e6 Let whitespace break the value of a parameterized header field, not just a ';' (thanks to Zarafa). 2013-03-24 11:35:08 +01:00
Vincent Richard
84415da8e1 Fixed parsing header field value on next line. 2013-03-24 10:02:23 +01:00