Commit Graph

1285 Commits

Author SHA1 Message Date
vincent-richard
e5186e6710 Fixed parsing of IMAP astring. 2021-03-24 21:04:01 +01:00
Jacek Piszczek
6feb658bfb Added missing includes 2021-03-24 15:57:25 -04:00
Vincent Richard
7d64105dee
Merge pull request #257 from jacadcaps/defaultCertificateVerifier
Improved certificate verification.
2021-03-24 20:52:05 +01:00
Vincent Richard
b2d08d4f71
Merge pull request #255 from jacadcaps/weak_ptr-checks
Weak ptr checks + forced socket disconnections.
2021-03-24 20:41:58 +01:00
Jacek Piszczek
9ec84cf80f Process Message-ID and In-Reply-To in EVELOPE 2021-03-24 14:24:35 -04:00
Jacek Piszczek
db486520f2 Improved certificate verification 2021-03-24 12:55:42 -04:00
Jacek Piszczek
a0d02afc69 IMAP PEEK support 2021-03-24 12:27:47 -04:00
Jacek Piszczek
d7eaba1007 Cosmetics 2021-03-24 11:14:03 -04:00
Jacek Piszczek
68f8eb0d39 Ensure disconnect() method always disconnect the underlying sockets.
Added additional checks after weak pointer locks.
2021-03-24 11:08:40 -04:00
Vincent Richard
115d232483
Merge pull request #253 from jacadcaps/MessageParser
Default missing Content-Type to text/plain.
2021-03-16 21:38:34 +01:00
Vincent Richard
cb5adc3a23
Merge pull request #254 from jacadcaps/MessageParserDate
Workaround a RECEIVED message field missing actual date info.
2021-03-16 21:36:25 +01:00
Jacek Piszczek
025c155919 Workaround a RECEIVED message field missing actual date info. 2021-03-15 20:38:04 -04:00
Jacek Piszczek
408ffb13ea Default missing Content-Type to Text/Plain as per https://tools.ietf.org/html/rfc2045#section-5.2 2021-03-15 20:31:07 -04:00
Vincent Richard
98ec456ed1
Merge pull request #252 from jacadcaps/replyTo
Fixed an ENVELOPE ReplyTo handling regression.
2021-03-15 19:39:33 +01:00
Jacek Piszczek
8416534992 Fixed an ENVELOPE ReplyTo handling regression 2021-03-15 08:18:33 -04:00
Vincent Richard
98e9759da2
Merge pull request #251 from jacadcaps/exception_fixes
Exceptions handling / re-throwing fixes
2021-02-25 20:48:39 +01:00
Jacek Piszczek
39a0cfbcc3 net/tls: Refactored re-throwing exceptions so that the original exception class is retained. With the old code, a socket_exception was re-thrown as vmime::exception.
IMAPFolder.cpp: Fixed a use-after-free in case of an exception in close().
2021-02-24 13:53:39 -05:00
vincent-richard
47c6f35f5a #250 Fixed unquoted mailbox name 2021-02-05 18:28:20 +01:00
Vincent Richard
ea9775c4f1
Merge pull request #249 from mpietruschka/master
You forgot about one line  in "Fixed build with ICU 68.2-1"
2021-01-25 22:55:46 +01:00
Your Name
9116feac76 Fixed build with ICU 68.2-1 2021-01-23 01:35:08 +01:00
Your Name
7f9a0eb148 Fixed build with ICU 68.2-1 2021-01-23 01:03:58 +01:00
Vincent Richard
13ca7fa6e5 Fixed implicit declarations and misc warnings. 2021-01-11 22:34:59 +01:00
Vincent Richard
817358854d Fixed line endings. 2021-01-11 22:06:42 +01:00
Vincent Richard
ec5b8f7cfe #247 Fixed build with ICU 68.2-1 2021-01-11 22:04:52 +01:00
Vincent Richard
3733af5191 Reply-To should be an addressList according to the RFC. 2021-01-11 21:48:34 +01:00
Vincent Richard
2e07dc4c31
Merge pull request #248 from jas4711/jas4711/drop-obsolete-gsasl-symbols
Don't use deprecated gsasl symbols.
2021-01-11 21:18:53 +01:00
Simon Josefsson
c750e899b8
Don't use deprecated gsasl symbols. 2021-01-08 03:25:09 +01:00
Vincent Richard
9e2c286c0b
Merge pull request #246 from jengelh/asciiquote
Avoid force-encoding display names that fit within qcontent
2020-12-12 14:19:58 +01:00
Jan Engelhardt
f4c611b736 Avoid force-encoding display names that fit within qcontent
When the display name contains an At sign, or anything of the sort,
libvmime would forcibly encode this to =?...?=, even if the line
is fine ASCII which only needs quoting.

rspamd takes excessive quoting as a sign of spam and penalizes
such mails by raising the score (rule/match: TO_EXCESS_QP et al.)
2020-12-11 23:10:39 +01:00
vincent-richard
6c4bd0dda9 Check for DSN extension support before using it. 2020-09-04 19:14:33 +02:00
vincent-richard
9205c9d0ab Fixed unit test for DSN support. 2020-09-02 19:57:42 +02:00
vincent-richard
e25751cc0d Fixed missing default argument. 2020-09-02 19:24:11 +02:00
Vincent Richard
84294f6543
Merge pull request #240 from josusky/master
Add basic support for delivery status notifications (DSN).
2020-09-02 19:07:06 +02:00
Jan Osusky
7000792fa0 Fix wording of DSN attributes documentation 2020-08-21 13:30:36 +02:00
0xd34df00d
6eb63399a1 Try obtaining content disposition for all body parts types 2020-08-21 13:22:08 +02:00
0xd34df00d
4edb9ed949 Text body part can also have a name 2020-08-21 13:22:08 +02:00
0xd34df00d
d14038dd66 Refactor out getPartName() 2020-08-21 13:22:08 +02:00
Richard Steele
22ae6a91f5 Fix #223 2020-08-21 13:22:08 +02:00
Jan Osusky
d4cc5cfc9b Editorial changes in DSN attributes 2020-08-21 13:13:55 +02:00
Vincent Richard
4c330bc623
Merge pull request #241 from 0xd34df00d/body_type_parsing
Body type parsing
2020-08-09 11:02:53 +02:00
0xd34df00d
c137bc55af Try obtaining content disposition for all body parts types 2020-08-08 14:46:19 -04:00
0xd34df00d
1806e0be0e Text body part can also have a name 2020-08-08 12:50:53 -04:00
0xd34df00d
83a2669a51 Refactor out getPartName() 2020-08-08 12:44:03 -04:00
Vincent Richard
e02ea9d178
Merge pull request #233 from RichardSteele/fix-openssl-223
Fix #223
2020-07-31 18:02:46 +02:00
Jan Osusky
64ef65e03c Create class for DSN attributes
The three attributes needed to request a Delivery Status Notification are now passed as an "dsnAttributes" object to the send methods.
Fixed code style at some related palces.
2020-07-23 10:42:15 +02:00
Jan Osusky
e30766cf2a Add basic support for delivery status notifications (DSN)
Added possibility to send e-mails with explicit request for delivery status notification and its content.
2020-07-22 08:26:04 +02:00
Vincent Richard
0f99387648
Merge pull request #239 from kisli/laurent-richard-fix-message-flag-set
Fix message flag assignment with FLAG_MODE_SET.
2020-07-17 23:42:13 +02:00
laurent-richard
3052e5b998
Fix message flag assignment with FLAG_MODE_SET 2020-07-16 10:32:10 +02:00
vincent-richard
5c00f7867a #238 Fixed whitespace between encoded words 2020-06-16 19:47:33 +02:00
vincent-richard
9a10a839ec Added test. 2020-06-02 18:13:34 +02:00