Commit Graph

890 Commits

Author SHA1 Message Date
Vincent Richard
281300ed6a SMTP response code 251 for RCPT TO is now treated as successful. 2013-02-17 21:14:56 +01:00
Vincent Richard
0757efad0d Reset SMTP session state (using RSET command) if transport is being reused. 2013-02-17 18:07:23 +01:00
Vincent Richard
0af0373cb6 Always throw std exceptions (eg. bad_alloc) and VMime time out exceptions. 2013-02-16 11:23:30 +01:00
Vincent Richard
725070467c Unit tests for seekableInputStreamRegionAdapter. 2013-02-15 15:17:04 +01:00
Vincent Richard
51111254a4 The seekableInputStreamRegionAdapter now stores its own current position, to avoid issues when multiple adapters share the same underlying stream. 2013-02-15 14:58:00 +01:00
Vincent Richard
34c4fce797 Unit tests for output stream adapters. 2013-02-14 15:59:26 +01:00
Vincent Richard
bf40e22537 Unit tests for POP3Utils. 2013-02-14 11:16:26 +01:00
Vincent Richard
a6dd30c581 Unit tests for POP3Response. 2013-02-13 10:26:16 +01:00
Vincent Richard
fd5f0c0707 Trim first line of POP3 response to get rid of CR, if any. 2013-02-13 10:03:18 +01:00
Vincent Richard
feabba4470 Unit tests for SMTPCommand and SMTPCommandSet. Fixed SMTPCommandSet::isFinished(). 2013-02-12 17:54:36 +01:00
Vincent Richard
83c5ba96b9 Rewrote SMTP command sending. Better code for pipelining. Report full command text on MAIL/RCPT errors. 2013-02-12 16:58:27 +01:00
Vincent Richard
f0e12cbadc Fixed invalid use of freed memory. 2013-02-11 21:10:19 +01:00
Vincent Richard
b02e6ab664 Added missing includes. 2013-02-11 09:37:32 +01:00
Vincent Richard
ddf3cff495 Check for MLang on Windows platform. 2013-02-10 21:12:41 +01:00
Vincent Richard
4457dec512 Fixed issue #23. Avoid additional queries if gethostname() is already a FQDN. Use getaddrinfo() instead of gethostbyname() for IPv6 compatibility. 2013-02-10 20:59:14 +01:00
Vincent Richard
3829cc2f86 Link with "ws2_32" library on Windows, if available. 2013-02-08 14:24:20 +01:00
Vincent Richard
173c665e0c Additional MDN fields (thanks to Mehmet Bozkurt). 2013-02-08 14:23:48 +01:00
Vincent Richard
9adc7c3952 Fixed linking with pthread library. 2013-02-05 15:15:37 +01:00
Vincent Richard
c2474f2b2b Check for localtime_r and gmtime_r at build instead of testing _REENTRANT. Use localtime_s and gmtime_s on Windows, if available. 2013-02-05 14:21:21 +01:00
Vincent Richard
230a2c73ab Updated book. Added build target for HTML using HeVeA. 2013-02-05 13:02:00 +01:00
Vincent Richard
1da9117fa5 Gives access to X.509 certificate underlying structure. 2013-02-05 13:01:59 +01:00
Vincent Richard
ee62dcb0a6 Fixed script for MacOS X. 2013-02-03 14:44:52 +01:00
Vincent Richard
099d7a7882 Moved includes to fix compilation issue. 2013-01-15 13:24:45 +01:00
Vincent Richard
ea06bc1de1 Renamed TYPE_BOOL to avoid name collision on MacOS. 2013-01-15 13:21:10 +01:00
Vincent Richard
b74955cee5 Better test for stream state. 2013-01-15 13:05:21 +01:00
Vincent Richard
65f235d647 Removed unused includes for OpenSSL. 2013-01-15 12:01:58 +01:00
Vincent Richard
ad9bef78c4 Updated copyright year and maintainer email address. 2013-01-10 17:30:31 +01:00
Vincent Richard
3ac625efa5 Fixed issue #17. 2012-12-27 21:14:24 +01:00
Vincent Richard
941159b3ac Merge pull request #16 from mabrand/master-fix-example
Fixed example6: missing arg to defaultCertificateVerifier::verify().
2012-12-24 07:51:54 -08:00
Vincent Richard
268636c5f5 Merge pull request #18 from mabrand/fix-no-tls
exclude defaultCertificateVerifier.cpp unless VMIME_HAVE_TLS_SUPPORT
2012-12-24 07:51:26 -08:00
Mark Brand
1c43b53cde exclude defaultCertificateVerifier.cpp unless VMIME_HAVE_TLS_SUPPORT 2012-12-24 16:26:06 +01:00
Mark Brand
787cc23b0e fix example6: missing arg to defaultCertificateVerifier::verify 2012-12-24 14:51:54 +01:00
Vincent Richard
9e8cdca585 Fixed type for maximum line length. 2012-12-22 13:40:18 +01:00
Vincent Richard
0305c3c5a9 Fixed first modifier not being generated. 2012-12-22 12:18:52 +01:00
Vincent Richard
a63c0c5094 Misc fixes for Windows build (thanks to Mehmet Bozkurt). 2012-12-17 17:02:08 +01:00
Vincent Richard
e192ce6716 More robust check for EOF in input stream. 2012-12-13 18:37:01 +01:00
Vincent Richard
c9f0641b06 Fixed seeking after EOF in input stream. 2012-12-13 18:34:22 +01:00
Vincent Richard
e91495e3c3 Also do not re-encode Quoted-Printable and UUEncode. 2012-12-13 13:16:52 +01:00
Vincent Richard
3a5621c2aa Trivial 64-bit warning fixes. 2012-12-12 16:35:55 +01:00
Vincent Richard
7a9db510f5 Do not re-encode data if it is already encoded (thanks to Mehmet Bozkurt). 2012-12-12 14:56:07 +01:00
Vincent Richard
2920eb29b2 Ignore binary file for unit tests. 2012-12-12 14:48:10 +01:00
Vincent Richard
afec9aa66f Ignore empty modifiers (thanks to Mehmet Bozkurt). 2012-12-12 14:47:15 +01:00
Vincent Richard
7fdcc31ab3 Fixed compilation issues in unit tests. 2012-12-11 22:02:47 +01:00
Vincent Richard
dc791215f5 Fixed wrong class name (copy/paste is BAD ;-) ). 2012-12-11 21:48:43 +01:00
Vincent Richard
87259631e4 SSL server identity check. 2012-12-10 22:59:19 +01:00
Vincent Richard
589f2f3545 Fixed doc for classes in "net" package not being generated. 2012-12-06 15:41:52 +01:00
Vincent Richard
1ba5e8698c Moved POP3 response receiving and parsing to a separate class. 2012-12-06 11:02:31 +01:00
Vincent Richard
053d2b4ee0 Fixed progression notification when message size is lower than 64K. 2012-12-05 21:02:34 +01:00
Vincent Richard
052cf47fcc Use message size for progress listener. 2012-11-30 20:11:33 +01:00
Vincent Richard
f2c94976be Merge pull request #15 from mabrand/fix-sendRawNonBlocking
remove stray argument from windowsSocket::sendRawNonBlocking
2012-11-30 00:41:35 -08:00