Commit Graph

407 Commits

Author SHA1 Message Date
Vincent Richard
166f6206f4 Fix for possible NULL return value for setlocale() (Zarafa). 2008-07-11 21:07:32 +00:00
Vincent Richard
1d093c46a7 Actually add the 'Final-Recipient' header (Zarafa). 2008-07-11 21:04:31 +00:00
Vincent Richard
ad0ea8ce9f Remove BCC headers before sending the message over SMTP (Zarafa). 2008-07-11 21:02:12 +00:00
Vincent Richard
a68e122354 Recover from broken emails without a final boundary (Zarafa). 2008-07-11 20:45:17 +00:00
Vincent Richard
439b2b3e90 Fixed extra space in subject (see https://sourceforge.net/forum/message.php?msg_id=4894970). 2008-04-28 19:49:48 +00:00
Vincent Richard
9246b79aae Removed old GNU TLS error. 2008-04-14 20:14:28 +00:00
Vincent Richard
50c3621cd3 Fixed constructor ambiguity in 'fileAttachment'. 2008-01-28 12:29:28 +00:00
Vincent Richard
0c30c298da Changed copyright year to 2008. 2008-01-04 18:07:40 +00:00
Vincent Richard
bc0e5a9a48 Use std::vector<> instead of new[] allocation (avoid memory leaks by using RAII idiom). 2007-12-23 16:19:39 +00:00
Vincent Richard
a87652e7b4 Fixed incorrect white-space between words. 2007-11-20 21:45:54 +00:00
Vincent Richard
6cafb90c08 Initialize Winsock before using gethostbyname(). 2007-10-16 18:13:47 +00:00
Vincent Richard
240db19366 Silently accept quoted string. 2007-08-30 21:38:54 +00:00
Vincent Richard
fd0647db85 Added function to unquote strings. 2007-08-30 21:38:22 +00:00
Vincent Richard
8066394538 Reset exception pointer (thanks to Emmanuel Cabestan). 2007-08-10 09:04:18 +00:00
Vincent Richard
e984682e26 Fixed bug in modified UTF-7 encoding. 2007-07-09 22:05:54 +00:00
Vincent Richard
5e3a99710b Throw exception when badbit is set. 2007-07-09 21:54:01 +00:00
Vincent Richard
cb5e91a24c New GCC definition. 2007-07-09 21:53:00 +00:00
Vincent Richard
923a53990b Fixed wrong block size (thanks to Emmanuel Cabestan). 2007-06-07 16:36:04 +00:00
Vincent Richard
8c6ba0e058 Fixed bug #1721186: thread-safe reference counting. 2007-05-22 19:25:59 +00:00
Vincent Richard
a25333888d Fixed bug #1656547: segfault in urlUtils::decode() if the string ends with '%'. 2007-05-21 16:01:12 +00:00
Vincent Richard
e801eac884 Allow more than one mechanism after AUTH=. 2007-04-24 09:06:41 +00:00
Vincent Richard
a5de2571e3 Better parsing of ESMTP extensions. 2007-03-28 08:28:12 +00:00
Vincent Richard
a88d21a336 Fixed typo in the copyright header, and added missing paragraph about linking. 2007-03-27 12:42:53 +00:00
Vincent Richard
5a2c2e4128 Added support for Courier maildir format. 2007-03-22 16:03:41 +00:00
Vincent Richard
b90ca5481d Fixed warning. 2007-03-01 11:40:48 +00:00
Vincent Richard
15b93aaa59 Fixed bad parsing of RFC-2047 quoting. 2007-02-22 14:26:10 +00:00
Vincent Richard
04509027fb Root part should not be detected as an attachment. 2007-02-06 11:32:29 +00:00
Vincent Richard
d284cfa729 Changed copyright year to 2007. 2007-01-01 20:55:15 +00:00
Vincent Richard
c46500fdd3 Allow 'AUTH=LOGIN' capability for some servers. 2006-12-26 08:28:59 +00:00
Vincent Richard
3263ad2760 Fixed attachment detection with non-MIME message (thanks to Peter Libic). 2006-12-14 21:38:04 +00:00
Vincent Richard
f95b91c547 Fixed invalid reuse of cert with gnutls_x509_crt_import (thanks to Benjamin Biron). 2006-12-08 13:07:06 +00:00
Vincent Richard
58594efcd8 Allow a line containing only spaces as header separator. 2006-12-05 19:36:57 +00:00
Vincent Richard
386fefeb0f Check for space/tab instead of using isspace(). 2006-11-24 13:22:28 +00:00
Vincent Richard
afc1548ac4 Preferred block size for streams. 2006-11-18 09:27:30 +00:00
Vincent Richard
c31f38f108 Temporary fix for socket stream copy. 2006-11-17 22:58:29 +00:00
Vincent Richard
8f7a3ab27a Fixed maximum line length bug. 2006-11-17 22:57:48 +00:00
Vincent Richard
f34baf40b2 Imbue classic 'C' locale for unformatted output. 2006-11-17 22:56:27 +00:00
Vincent Richard
84078f6bc1 Fixed typo causing bad line length computation in RFC-2047 Base64 output. 2006-11-17 14:59:10 +00:00
Vincent Richard
64d91947c3 Fixed reference + do not clear stream in adapters. 2006-11-15 10:41:35 +00:00
Vincent Richard
ae0cd86c4f Use std::copy instead of loop (thanks to Michal Rzechonek). 2006-11-14 13:19:57 +00:00
Vincent Richard
b63f6513f2 Use 'char' instead of 'unsigned char' for conversion with std::ctype. 2006-11-09 17:27:18 +00:00
Vincent Richard
f99fc84915 Imbue classic 'C' locale for the output of message parts and protocol commands. 2006-11-08 18:33:18 +00:00
Vincent Richard
c2ec474b03 Fixed compilation problem with GCC 3.3. 2006-10-20 17:48:10 +00:00
Vincent Richard
0894c98959 Renamed 'vmime::platformDependant' to 'vmime::platform'. 2006-10-11 14:52:41 +00:00
Vincent Richard
b2d67de8a9 Reissue EHLO after successful STARTTLS. 2006-10-02 19:51:27 +00:00
Vincent Richard
b79a6ad890 Fixed bug #1096610: non-integral number of chars in RFC-2047 encoded words. 2006-10-02 13:44:00 +00:00
Vincent Richard
4927c22948 Attachment [file]name. 2006-09-04 16:16:00 +00:00
Vincent Richard
29df79e4e5 Fixed parsing when space occurs at the end of the field value. 2006-08-25 14:36:44 +00:00
Vincent Richard
bcaff413ca Do not treat attached text files as text parts. 2006-08-21 13:20:30 +00:00
Vincent Richard
3abf3bdcb8 Fix for message ids without angle brackets. 2006-08-09 07:18:45 +00:00
Vincent Richard
27840a441d Replaced & with ref<> + clean up. 2006-07-14 08:28:35 +00:00
Vincent Richard
9a42c8bca4 Fixed bugs in MHTML code + unit tests. 2006-07-13 16:32:39 +00:00
Vincent Richard
edca17af10 Fixed warning for uninitialized variable. 2006-06-23 21:16:21 +00:00
Vincent Richard
4579f8f95a Fixed CRLF response parsing + intermediate replies. 2006-05-05 20:44:17 +00:00
Vincent Richard
7ab15b35cf Reset timeout before reading response. 2006-05-05 13:29:37 +00:00
Vincent Richard
abe3eef889 Fixed typo in comment. 2006-05-05 11:13:11 +00:00
Vincent Richard
64fdd8e889 Fixed typo when parsing ESMTP/AUTH response. 2006-05-05 11:11:03 +00:00
Vincent Richard
01ba897060 Week of year calculation. 2006-04-24 19:40:24 +00:00
Vincent Richard
6933fb8a30 Folder deletion. 2006-04-23 08:48:19 +00:00
Vincent Richard
3bbffc18de Renamed 'byte' to 'byte_t'. 2006-04-18 19:04:30 +00:00
Vincent Richard
b16c5ca684 Clean up. 2006-04-05 17:48:09 +00:00
Vincent Richard
e9501b48d8 Refactored and cleaned up smart pointers. 2006-03-29 20:06:39 +00:00
Vincent Richard
0396b85db1 Force encoding when there is a CR/LF in the word. 2006-02-24 21:31:27 +00:00
Vincent Richard
0b9fd48f97 Check for connection before any operation. 2006-02-24 17:57:17 +00:00
Vincent Richard
0457e42360 Added unit tests for datetimeUtils + renamed functions. 2006-02-12 14:13:04 +00:00
Vincent Richard
de9d03d952 Fixed dangling 'else'-block when TLS is not enabled (thanks to Tim Teulings). 2006-02-09 21:03:16 +00:00
Vincent Richard
64ba82c100 Added toAddressList(). 2006-02-05 20:24:15 +00:00
Vincent Richard
63d21f7a09 Changed copyright year to 2006. 2006-02-05 10:22:59 +00:00
Vincent Richard
64235edb41 Fixed encoding of reserved/unsafe chars. 2006-01-31 19:09:43 +00:00
Vincent Richard
1539754d53 Added service::isSecuredConnection() and service::getConnectionInfos() to retrieve information about the connection. 2006-01-29 17:36:34 +00:00
Vincent Richard
bfe8c00465 getPeerCertificates() should be const. 2006-01-29 17:30:35 +00:00
Vincent Richard
ce5e7f9c52 Fixed segfault when cert data is NULL. 2006-01-29 17:21:56 +00:00
Vincent Richard
1b7a7a7694 Treat 'inline' parts without Content-[Id/Location] as attachments. 2006-01-19 19:58:37 +00:00
Vincent Richard
8e0080b0ed Added support for attachments of type 'message/rfc822'. 2006-01-16 21:55:37 +00:00
Vincent Richard
67a39fd972 Fixed bug when reading CAPABILITY/LIST responses. 2006-01-15 11:34:21 +00:00
Vincent Richard
6c946267b1 Implemented IMAP multi-fetching. 2006-01-15 11:06:59 +00:00
Vincent Richard
09d4fca9ba Non-const folder for events. 2006-01-15 09:46:30 +00:00
Vincent Richard
98204ed846 Fixed bug when fetching structure. 2006-01-10 19:23:05 +00:00
Vincent Richard
11d4f2689e Fixed segfault when dynamic-casting a ref (thanks to Benjamin Biron). 2006-01-10 18:16:04 +00:00
Vincent Richard
ecf9dbafe6 Allow '@' in the username part of an URL. 2006-01-09 18:02:25 +00:00
Vincent Richard
c884bc382c Recognize deleted messages not yet expunged (thanks to Benjamin Biron). 2006-01-08 21:14:04 +00:00
Vincent Richard
6bd21074a3 Code clean-up. 2006-01-08 10:57:46 +00:00
Vincent Richard
07a3a8eb71 Inverted flags and mode in deleteMessage[s]() (thanks to Benjamin Biron). 2006-01-07 08:52:57 +00:00
Vincent Richard
9dcc78085a Added SMTPResponse to read and parse SMTP responses. 2006-01-07 08:46:20 +00:00
Vincent Richard
9439d60f96 Rewritten code using std:: algorithms (thanks to Pierre THIERRY). 2005-12-30 20:32:05 +00:00
Vincent Richard
500f065c94 Rewritten some code without using iterators. 2005-12-30 20:29:36 +00:00
Vincent Richard
69e0083549 Added support for getaddrinfo() on POSIX. 2005-12-26 18:20:47 +00:00
Vincent Richard
d906896132 Fixed typo causing infinite loop. 2005-12-20 11:48:43 +00:00
Vincent Richard
2cb8fef483 Fixed segfault in destructor when chaining 3 exceptions or more. 2005-12-05 17:35:51 +00:00
Vincent Richard
1d1a9cf604 Fixed a bug in argument vector. 2005-12-04 16:38:20 +00:00
Vincent Richard
da6cd30611 Fixed bug when connecting to IMAP with default authenticator. 2005-12-02 12:25:58 +00:00
Vincent Richard
aba576a3a9 Fixed bug when disconnecting SMTP. 2005-11-30 12:12:01 +00:00
Vincent Richard
296ce19306 Fixed buffer overrun in random::getString(). 2005-11-28 12:17:47 +00:00
Vincent Richard
594dfdbd55 Fixed problem with maildir and ':' in filename on Windows. 2005-11-27 21:02:50 +00:00
Vincent Richard
1b38cbeb3f gmtime() and localtime() are reentrant when using MS C runtime library (MinGW/MSVC). 2005-11-14 12:07:11 +00:00
Vincent Richard
5a303de801 Fixed bug in disconnect() when authentication is not needed (thanks to Benjamin Biron). 2005-11-07 11:55:40 +00:00
Vincent Richard
cffdc6caf5 Fixed typos in documentation. 2005-11-05 09:47:08 +00:00
Vincent Richard
acfa9ffc64 Refactored header field values and parameters. 2005-11-04 23:21:22 +00:00
Vincent Richard
675c4cd3c2 Fixed problem with 'no_auth_information' exception when SASL support is disabled. 2005-10-30 15:24:33 +00:00
Vincent Richard
4522121196 Moved certificate code into 'vmime::net::security::cert' namespace. 2005-10-30 15:02:39 +00:00
Vincent Richard
c241f071d2 Added flush() on 'outputStream' + added unit tests for 'charsetFilteredOutputStream' when input contains invalid sequences. 2005-10-20 16:56:04 +00:00
Vincent Richard
00baffa8ed Added 'charsetFilteredOutputStream'. 2005-10-19 21:00:26 +00:00
Vincent Richard
1e94a4a70f Refactoring of built-in services registration system. 2005-10-19 17:12:20 +00:00
Vincent Richard
6f278de337 Charset converter. 2005-10-19 11:28:36 +00:00
Vincent Richard
08e1812b23 Charset converter. 2005-10-19 11:25:57 +00:00
Vincent Richard
59739dd3ec Fixed a bug in length calculation. 2005-10-14 18:41:18 +00:00
Vincent Richard
623857cb80 Not an attachment if a 'Content-Id' field is present. 2005-10-14 18:21:43 +00:00
Vincent Richard
a4161cf09d Added 'attachmentHelper'. 2005-10-13 21:27:46 +00:00
Vincent Richard
9b31891938 Added removeAllFields() for a field name. 2005-10-13 20:57:15 +00:00
Vincent Richard
b9471c9543 Added getPart() and getHeader() on attachment. 2005-10-13 18:58:33 +00:00
Vincent Richard
3f7ce9bcd1 Don't return references. 2005-10-13 18:50:00 +00:00
Vincent Richard
d3def01573 Sendmail support on POSIX platforms only. 2005-10-11 20:54:18 +00:00
Vincent Richard
ee46de08f7 Renamed 'progressionListener' to 'progressListener'. 2005-10-06 11:08:56 +00:00
Vincent Richard
3ec0f17ade Added service::setTimeoutHandlerFactory(). 2005-10-04 18:49:59 +00:00
Vincent Richard
09d9e11439 Added service::setSocketFactory(). 2005-10-04 18:34:25 +00:00
Vincent Richard
7d2d25da3e Added TLS/SSL support. 2005-10-03 21:29:04 +00:00
Vincent Richard
e7ca1d2465 Reduced waiting time. 2005-10-03 12:26:27 +00:00
Vincent Richard
bdc2664ee2 Made 'datetime' compatible with C's time_t. 2005-10-03 12:24:08 +00:00
Vincent Richard
887930fac8 Too much CPU time used when waiting for data to be received. 2005-10-02 18:17:56 +00:00
Vincent Richard
cbd1110a4b Updated FSF address. 2005-09-17 10:10:29 +00:00
Vincent Richard
0edaa87860 SASL authentication. 2005-09-17 09:08:45 +00:00
Vincent Richard
e51fb0c931 Input buffer size. 2005-09-16 11:05:31 +00:00
Vincent Richard
344d96539d Non-blocking socket input/output. 2005-09-14 22:03:56 +00:00
Vincent Richard
c2a41984af Added special characters for encoding. 2005-09-08 10:44:10 +00:00
Vincent Richard
3b1fcbe825 New namespace for message digest algorithms. 2005-09-06 20:08:39 +00:00
Vincent Richard
f777b659b9 Added progression notifications. 2005-09-03 12:48:59 +00:00
Vincent Richard
df140bb13e Updated code to use smart pointers. 2005-09-02 20:30:33 +00:00
Vincent Richard
8cae762d46 Throw exception in debug mode when thisRef()/thisWeakRef() is called from the object's constructor. 2005-09-02 10:53:24 +00:00
Vincent Richard
5c3e21ee1d NEVER call thisRef() from the object's constructor. 2005-09-01 22:33:21 +00:00
Vincent Richard
dbdfee6fb5 Fixed 'requestAuthInfos()' not public. 2005-08-26 19:28:54 +00:00
Vincent Richard
2ecc5c0c27 Fixed ambiguity when parameter is not const. 2005-08-26 17:02:18 +00:00
Vincent Richard
7ac14499f0 Fixed undefined symbol 'UNSPECIFIED_PORT'. 2005-08-25 21:15:17 +00:00
Vincent Richard
658fcc26b5 Error handling in posixSocket::send(). 2005-08-24 20:47:13 +00:00
Vincent Richard
a530f25c79 Renamed 'vmime::messaging' to 'vmime::net'. 2005-08-23 20:26:20 +00:00
Vincent Richard
28bafee944 Renamed 'vmime::messaging' to 'vmime::net'. 2005-08-23 19:11:19 +00:00
Vincent Richard
4f88d29dc0 vmime::exception now inherits from std::exception. 2005-08-19 18:45:40 +00:00
Vincent Richard
8de88d9e37 Content handler constness. 2005-08-17 14:17:18 +00:00
Vincent Richard
bd925cef1c Added FETCH_IMPORTANCE flag. 2005-07-25 11:08:34 +00:00
Vincent Richard
67eef25151 Don't throw if no field is found, just return normal priority. 2005-07-24 20:22:14 +00:00
Vincent Richard
e14a8b6adb Fixed some doc + getHeader() now returns a ref. 2005-07-24 20:04:23 +00:00
Vincent Richard
06ed35edf7 Allow getting/setting importance directly from/on message header. 2005-07-24 15:54:05 +00:00
Vincent Richard
207efb83b1 Removed implicit conversion to T* for smart pointers. 2005-07-24 11:39:24 +00:00
Vincent Richard
81b7b009e9 Fixed getMessages(). 2005-07-23 13:14:21 +00:00
Vincent Richard
de2431dd0c Fixed a bug when destroying an unconnected IMAP service. 2005-07-21 16:59:18 +00:00
Vincent Richard
0562415aeb Allow creating 'charset' objects from 'const char*' (for constants). 2005-07-20 20:32:48 +00:00
Vincent Richard
360cf5c213 Fixed default 'word' constructor using platform handler before being initialized. 2005-07-18 20:17:44 +00:00
Vincent Richard
c431335c66 Fixed error given by g++ 3.3 but not >= 3.4. 2005-07-18 17:01:21 +00:00
Vincent Richard
dafac00334 Added unit tests for smart pointer. 2005-07-17 20:18:14 +00:00
Vincent Richard
b8b096c44f Added getName() to retrieve attachment filename. 2005-07-15 09:51:55 +00:00
Vincent Richard
681297e10b Reference counting and smart pointers. 2005-07-12 22:28:02 +00:00