Commit Graph

1259 Commits

Author SHA1 Message Date
Vincent Richard
b59e97d0a7 #213 Add support for invalid empty () in FETCH body structure (non-strict) 2019-04-18 11:28:48 +02:00
Vincent Richard
dad5b4a855
Merge pull request #212 from jengelh/hostname
Unbreak own hostname qualification on POSIX systems
2019-02-07 19:50:33 +01:00
Jan Engelhardt
e1faa92593 Unbreak own hostname qualification on POSIX systems
Partial revert commit v0.9.2-6-g9a3d6880 (issue #160), because
invoking getaddrinfo(NULL, ... AI_CANONNAME) is illegal and never
succeeds.
2019-02-06 23:46:06 +01:00
Vincent Richard
414661858d
Merge pull request #210 from jengelh/twoaddr
Handle parsing of further non-conformant From lines
2019-02-04 21:10:47 +01:00
Jan Engelhardt
d1190b496f Improve address parser for malformed mailbox specifications
Spammers use "Name <addr> <addr>" to trick some parsers.
My expectations as to what the outcome should be is presented
in the updated mailboxTest.cpp.

The DFA in mailbox::parseImpl is hereby redone so as to pick the
rightmost address-looking portion as the address, rather than
something in between. While doing so, it will also no longer mangle
the name part anymore (it does this by keeping a "as_if_name"
variable around until the end).
2019-01-25 08:11:07 +01:00
Jan Engelhardt
cc18aa39c1 tests: add more malformation tests to mailboxTest 2019-01-24 13:17:52 +01:00
Vincent Richard
0368adade1 #206 Initialize and delete pointers 2018-10-17 20:26:44 +02:00
Vincent Richard
df135b5a8b Removed 'stringProxy' since COW std::string is no longer valid in C++11. 2018-09-15 07:41:26 +02:00
Vincent Richard
0c81108cc8
Merge pull request #183 from josusky/master
Fix of compilation warning reported by GCC 4.9.3.
2018-09-07 21:02:26 +02:00
Vincent Richard
71968d978d
Merge branch 'master' into master 2018-09-07 20:32:51 +02:00
Vincent Richard
ea0d24809d Useless mutex does not make nl_langinfo() thread-safe. 2018-09-06 20:09:54 +02:00
Vincent Richard
cfd4492915 More tests. 2018-09-06 00:22:34 +02:00
Vincent Richard
7e29cf01fa Fixed bug in implementation of isStringEqualNoCase(). 2018-09-06 00:16:48 +02:00
Vincent Richard
258f943ded Moved implementation. 2018-09-06 00:13:24 +02:00
Vincent Richard
3bd864efc2 Fixed possible memory leak. 2018-09-06 00:05:13 +02:00
Vincent Richard
b55bdc9c0b Code style and clarity. 2018-09-05 23:54:48 +02:00
Vincent Richard
71a0fa4b26
Merge pull request #198 from xguerin/master
Import multiple certificates withing a single stream
2018-09-05 23:35:50 +02:00
Vincent Richard
5cd1f2990a
Merge pull request #201 from 0xd34df00d/master
Added net::message::getName() + the IMAP implementation
2018-08-31 18:59:36 +02:00
Vincent Richard
d4c386beda Removed useless 'constCast's. 2018-08-18 19:51:21 +02:00
Vincent Richard
f173b0a535 Avoid copy by passing shared_ptr<> with const reference. 2018-08-18 16:08:25 +02:00
Vincent Richard
997616c629 Fixed delete array. 2018-08-18 13:52:20 +02:00
Vincent Richard
81e73c0f56 Fixed compilation errors with OpenSSL 1.1.0. 2018-08-17 21:29:02 +02:00
Vincent Richard
1e56a3617d Force classic locale when formatting IMAP UIDs. 2018-08-17 21:22:11 +02:00
Vincent Richard
5eae3b1bd6 Fixed warnings with GCC 7. 2018-08-17 21:10:48 +02:00
Vincent Richard
f9a4099837 Added section about tracing. 2018-08-17 20:30:21 +02:00
0xd34df00d
52042b2b5b Added net::message::getName() + the IMAP implementation. 2018-07-04 16:03:49 -04:00
Xavier Guérin
df8051d8db Import multiple certificates withing a single stream 2018-05-30 22:17:15 -04:00
Xavier Guérin
6ad4c1a0d5 Fix X509Certificate::getIssuerString signature 2018-05-30 20:20:56 -04:00
Vincent Richard
a9b822140b #196 Allow overriding CMAKE_CXX_FLAGS 2018-04-24 20:31:26 +02:00
Vincent Richard
8495ce1116 #194 Fixed documentation 2018-04-04 20:10:28 +02:00
Vincent Richard
8564b2f8b0 #193 Dropped support for boot::shared_ptr<>, enabled C++11 support in CMake 2018-04-01 11:29:07 +02:00
Vincent Richard
ed825ba255
Merge pull request #181 from rusdevops/patch-2
Update CMakeLists.txt
2018-03-12 20:42:03 +01:00
Vincent Richard
f04190bafa #191 X509Certificate::import() now auto-detects format 2018-03-12 20:37:12 +01:00
Vincent Richard
abba40e97d Added unit test related to PR #192. 2018-03-12 20:33:27 +01:00
Vincent Richard
754e556aeb
Merge pull request #192 from bosim/address-parsing
Handle parsing of a@b.c <e@f.g>
2018-03-12 20:31:03 +01:00
Bo Simonsen
b73d765f51 Handle parsing of a@b.c <e@f.g>
The behavior of current VMIME implementation will result in address a@b.c
with an empty name. That is because the parsing is stopped whenever a
wihtespace and a at-character is seen. We should continue the parsing to
deduce the real address (e@f.g in the example).
2018-02-19 13:08:09 +01:00
Vincent Richard
680057bacd
Merge pull request #184 from josusky/smtp-auth
Add SMTPS with AUTH PLAIN without SASL.
2017-12-20 08:46:28 +01:00
Vincent Richard
d7a1b5817e Issue #186: SMTPUTF8 is not an argument to RCPT + UTF8 in recipient address must switch the whole message to SMTPUTF8. 2017-12-14 22:11:58 +01:00
Vincent Richard
1592cccb61 Fixed #186: use SMTPUTF8 only when needed. 2017-12-14 21:39:29 +01:00
Jan Osusky
dff676572a Add SMTPS with AUTH PLAIN without SASL
GNU SASL is a nice library but comes with its own prerequisites and dependencies.
As IMAP and POP3 are able to work without SASL it seems to me logical to add some authentication support to SMTP too. As these days most of the communication is encrypted it is common to use simple mechanism like AUTH PLAIN, so I have added it.
2017-11-03 18:30:43 +01:00
Jan Osusky
6cfe2c5f6c Add SMTPS with AUTH PLAIN without SASL
GNU SASL is a nice library but comes with its own prerequisites and dependencies.
As IMAP and POP3 are able to work without SASL it seems to me logical to add some authentication support to SMTP too. As these days most of the communication is encrypted it is common to use simple mechanism like AUTH PLAIN, so I have added it.
2017-10-20 16:06:14 +02:00
Jan Osusky
9e97519186 Fix of compilation warning reported by GCC 4.9.3
'class vmime::net::messageSetEnumerator' has virtual functions and accessible non-virtual destructor
2017-10-20 15:44:39 +02:00
Vincent Richard
eb5d9db693 Merge pull request #182 from miachm/master
Remove unnecessary public in vmime::encoding
2017-10-18 08:58:52 +02:00
Miguel Chacon
e83937ba42 Remove unnecesary public in vmime::enconding 2017-10-17 21:11:03 +02:00
rusdevops
51af739f8e Update CMakeLists.txt 2017-10-12 08:06:53 -07:00
rusdevops
b848dec86a Update CMakeLists.txt 2017-10-12 07:53:24 -07:00
Vincent Richard
79e96398cd Merge pull request #180 from rusdevops/patch-1
Update CMakeLists.txt
2017-10-09 20:15:07 +02:00
rusdevops
a965f64262 Update CMakeLists.txt 2017-10-04 11:52:54 +03:00
Vincent Richard
e14fd4f2c9 Issue #179: fixed input/output buffer size. 2017-09-06 20:59:10 +02:00
Vincent Richard
a370654a32 Merge pull request #178 from Aulddays/master
Fixed send performance issue
2017-08-18 21:12:45 +02:00