Commit Graph

567 Commits

Author SHA1 Message Date
Jack
9db9a81625 using context for parsing 2013-12-24 00:51:37 -05:00
Vincent Richard
9a4b72b47a Better error handling. Fixed return values in custom BIO. Added support for SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE in handshaking. 2013-12-18 21:21:30 +01:00
Vincent Richard
645c572ab5 Handle timeout in non-blocking send. 2013-12-17 22:38:45 +01:00
Vincent Richard
2b62c675fa Loop on recv and send operations for non-blocking sockets with OpenSSL. 2013-12-17 22:10:08 +01:00
Vincent Richard
73eded2f97 More robust error checking. 2013-12-17 22:04:36 +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
92fc0b34b0 Enforce strict aliasing rule and avoid alignment issues. 2013-11-28 23:23:35 +01:00
Vincent Richard
f91b1ec6a0 Replaced "no_such_parameter" exception with "std::out_of_range". Fixed argument of std::out_of_range. 2013-11-23 10:16:06 +01:00
Vincent Richard
def7890884 Do not throw exception for normal code flow. Removed exceptions::no_such_address and exceptions::no_such_mailbox, using std::out_of_range instead. 2013-11-23 09:43:35 +01:00
Vincent Richard
2bbf3eac25 Do not throw exception for normal code flow (removed exceptions::no_object_found). 2013-11-23 09:35:58 +01:00
Vincent Richard
7aebeeb2e2 Do not throw exception for normal code flow (exceptions::no_such_parameter). 2013-11-23 09:25:38 +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
b075256d8d Do not throw exception for normal code flow. 2013-11-21 23:07:50 +01:00
Vincent Richard
f00e5c4cd8 Fixed auto_ptr<>. 2013-11-21 23:04:27 +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
c406d45147 Merge branch 'master' of https://github.com/kisli/vmime 2013-09-23 13:34:15 +02:00
Vincent Richard
e749c5d784 Order ciphers according to strength and always exclude ADH (OpenSSL). 2013-09-23 13:33:31 +02:00
Mark Brand
dfc58cca0a fix typo 2013-09-22 21:59:16 +02:00
Vincent Richard
be3ee805e1 Fixed chunking output buffer. 2013-09-21 14:01:39 +02:00
Vincent Richard
041344d02a TLS properties: allows setting custom cipher suite for TLS/SSL connections. 2013-09-21 11:53:38 +02:00
Vincent Richard
7d7fb6daaf Made template argument explicit to workaround compiler error on MSVC. 2013-09-09 22:02:16 +02:00
Vincent Richard
3b13021469 SMTP-specific exceptions. 2013-09-08 20:49:51 +02:00
Vincent Richard
524c4fd55d Added required includes for MSVC. 2013-09-08 14:00:46 +02:00
Vincent Richard
a4cb3dc862 Added support for MIC (thanks to Mehmet Bozkurt). 2013-09-04 20:34:41 +02:00
Vincent Richard
86f0e14ea5 Fixed linking error on Visual Studio. 2013-09-02 09:52:04 +02:00
Vincent Richard
f3727fd2ad Fixed sharing mode when opening file. 2013-08-28 09:34:32 +02:00
Vincent Richard
54c766e110 Test for non-NULL 'ai_canonname', as per MSDN recommendation. 2013-08-18 18:11:57 +02:00
Vincent Richard
a64a4b5dbc Open the file in shared mode not to lock file. 2013-08-16 11:52:17 +02:00
Vincent Richard
2f513ff532 Fixed missing space in command. 2013-08-16 11:43:54 +02:00
Vincent Richard
757f8a7dc7 Fixed segfault at POP3 connection error. 2013-08-16 11:41:25 +02:00
Vincent Richard
78a7c1fbe0 Fixed isEmpty() test. 2013-08-16 10:52:47 +02:00
Vincent Richard
439642caea Made 'message::uid' a class to prevent implicit conversions between 'long' and 'string'. 2013-08-16 10:49:13 +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
820d44377e Added SMTP service properties to allow disabling PIPELINING and CHUNKING extensions. 2013-07-24 13:30:57 +02:00
Vincent Richard
cec80c6335 Return real message UID from IMAP server. Added function to return the current UID validity. 2013-07-21 14:24:18 +02:00
Vincent Richard
9a9794cb7d Reworked IMAP event notification code. 2013-07-18 21:51:09 +02:00
Vincent Richard
add42703e5 Removed useless accessors. 2013-07-17 12:49:52 +02:00
Vincent Richard
9702cdaaba Code cleanup. Store error log in parsed response to avoid accessing parser internal data. 2013-07-17 12:46:50 +02:00
Vincent Richard
c14be7ec9c Dispatch NOOP commands on open folders only. 2013-07-16 22:04:56 +02:00
Vincent Richard
00585bc823 Fixed status update. Prevent opening the same folder two times in a session. 2013-07-16 19:06:46 +02:00
Vincent Richard
91e6ab9445 Fixed issue #45: test for _WIN32 instead of WIN32. 2013-07-16 12:18:43 +02:00
Vincent Richard
62828e20d4 Renamed net::*{part|structure} to net::*message{Part|Structure}. Splitted code in multiple files. 2013-07-16 12:09:37 +02:00
Vincent Richard
54084253e6 Added basic support for IMAP CONDSTORE extension.
Process CAPABILITY in IMAP greeting response.
Renamed getUniqueId() to getUID() for consistency.
2013-07-16 11:07:16 +02:00
Vincent Richard
ebc0db9bf9 Fixed IMAP tag not incrementing. 2013-07-15 19:04:21 +02:00
Vincent Richard
b886cd4864 Refactored the way embedded objects are referenced in MHTML. 2013-07-11 18:06:26 +02:00
Vincent Richard
394224e7ab Updated IMAP parser to support STATUS response extensions. 2013-07-11 17:08:46 +02:00