731 Commits

Author SHA1 Message Date
Vincent Richard
9cad1aa646 Return more details about the certificate. 2014-01-09 20:25:43 +01:00
Vincent Richard
fa399699d5 Use non-blocking send in GNU TLS push callback. 2014-01-06 21:30:43 +01:00
Vincent Richard
59e635d317 Check for NULL progress listener. 2014-01-05 20:00:34 +01:00
Vincent Richard
8e51494486 Report sending progress when chunking is supported. 2014-01-05 13:53:44 +01:00
Vincent Richard
46963a3d99 Use block size of underlying stream. 2014-01-05 09:39:30 +01:00
Vincent Richard
df56d99b83 Do not disconnect after recoverable error. 2014-01-03 22:57:41 +01:00
Vincent Richard
146c16d896 Do not wait for server response to QUIT command. 2014-01-03 22:52:08 +01:00
Vincent Richard
f08431b065 Allow "200" response code to RSET command, as per RFC-876. 2014-01-03 22:15:35 +01:00
Vincent Richard
696e3ff902 Loop on SSL_write/gnutls_record_send in blocking send.
OpenSSL reports SSL3_WRITE_PENDING on slow network connections, this
patch fixes it (and is the correct way to do).
2014-01-03 21:54:32 +01:00
Vincent Richard
bd378bbfa2 Added support for SPECIAL-USE extension (IMAP). 2014-01-03 20:41:32 +01:00
Vincent Richard
1791e5114a Do not expose internal constants. 2013-12-31 11:49:28 +01:00
Vincent Richard
e13a9d19bc Added support for RFC-3348 (Child Mailbox extension for IMAP). Renamed FLAG_CHILDREN to FLAG_HAS_CHILDREN. 2013-12-31 11:35:29 +01:00
Vincent Richard
fab5cd79b6 Added support for APPENDUID/COPYUID (UIDPLUS extension for IMAP). 2013-12-30 10:26:10 +01:00
Vincent Richard
152c6bed75 Merged source and header files in directory structure. Got rid of SConstruct build. 2013-12-29 10:02:12 +01:00
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