André Cruz
fa6191983a
feat(tls-peer-certificates): Provide peer certs ( #976 )
...
Add a method that, when using a TLS toolkit that supports it, returns
the entire certificate chain. This is useful, for example, when
implementing DANE support which has directives that apply to the issuer
and not just to the leaf certificate.
Not all TLS toolkits support this, so the code will panic if the method
is called when using a TLS toolkit that has no way to return these
certificates.
2024-09-02 17:26:46 +02:00
Paolo Barbolini
ca405040ae
chore: replace manual impl of #[non_exhaustive] for InvalidHeaderName ( #981 )
2024-08-29 05:43:23 +02:00
Paolo Barbolini
f7a1b790df
Make HeaderName comparisons case insensitive ( #980 )
2024-08-29 05:43:14 +02:00
Paolo Barbolini
a81401c4cb
Fix latest clippy warnings ( #979 )
2024-08-23 09:24:05 +02:00
Jonas Osburg
54df594d6c
Implement accept_invalid_hostnames for rustls ( #977 )
...
Fixes #957
Co-authored-by: Paolo Barbolini <paolo.barbolini@m4ss.net >
2024-08-21 10:29:10 +02:00
Felix Rodemund
cada01d039
Add mTLS Support ( #974 )
...
This adds support for mutual authentication to transport layer secured
connections used to deliver mails.
Client authentication requires the client certificate and the
corresponding private key in pem format to be passed to
Identity::from_pem. The resulting Identity needs then to be provided to
TlsParametersBuilder::identify_with.
2024-07-30 21:28:34 +02:00
Paolo Barbolini
acdf189717
Fix clippy warnings ( #967 )
2024-06-11 18:12:32 +02:00
Ilka Schulz
3aea65315f
resolve #806 : forbid empty forward path when deserializing address::Envelop ( #964 )
2024-06-11 09:48:30 +00:00
Paolo Barbolini
9d3ebfab1a
Prepare 0.11.7 ( #961 )
2024-04-23 16:04:19 +02:00
Paolo Barbolini
dfdf3a61d2
Drop ref syntax ( #959 )
2024-04-21 11:22:07 +02:00
Paolo Barbolini
c7d1f35676
Prepare 0.11.6 ( #955 )
2024-03-28 16:19:10 +01:00
Paolo Barbolini
eebea56f16
Upgrade email-encoding to v0.3 ( #952 )
2024-03-28 15:22:55 +01:00
Paolo Barbolini
6f38e6b9a9
Fix latest clippy warnings ( #953 )
2024-03-28 05:12:13 +01:00
Paolo Barbolini
c40af78809
Prepare 0.11.5 ( #951 )
2024-03-25 17:59:47 +01:00
Viktor Szépe
fb54855d5f
Fix typos ( #944 )
2024-02-21 14:49:42 +01:00
ciffelia
157c4fb5ae
docs(transport): fix error in "Available transports" table ( #943 )
2024-02-18 17:19:27 +01:00
Hodu Mayo
1196e332ee
feat(transport-smtp): Support to SASL draft login challenge ( #911 )
2024-02-14 21:18:56 +01:00
Alexis Mousset
75770f7bc6
Add conversion from SMTP code to integer ( #941 )
2024-02-14 21:01:21 +01:00
Paolo Barbolini
c3d00051b2
Prepare 0.11.4 ( #936 )
2024-01-28 08:08:26 +01:00
Birk Tjelmeland
12580d82f4
style(email): Change Part::body_raw to Part::format_body
2024-01-28 07:54:16 +01:00
Birk Tjelmeland
f7849078b8
fix(email): Fix mimebody DKIM body-hash computation
2024-01-28 07:54:16 +01:00
Paolo Barbolini
74f64b81ab
test(transport/smtp): test credentials percent decoding from URL ( #934 )
2024-01-25 20:05:31 +01:00
42triangles
39c71dbfd2
transport/smtp: percent decode credentials in URL ( #932 )
2024-01-12 11:43:30 +00:00
Paolo Barbolini
c1bf5dfda1
Prepare 0.11.3 ( #929 )
2024-01-02 18:45:34 +01:00
Paolo Barbolini
1c1fef8055
Drop once_cell dependency in favor of OnceLock from std ( #928 )
2024-01-02 11:53:47 +01:00
Paolo Barbolini
1540f16015
Upgrade rustls to v0.22 ( #921 )
2024-01-02 11:41:16 +01:00
Tobias Bieniek
330daa1173
transport/smtp: Implement Debug trait ( #925 )
2023-12-17 09:20:51 +01:00
Tobias Bieniek
47f2fe0750
transport/file: Derive Clone impls ( #924 )
2023-12-16 21:30:57 +01:00
Paolo Barbolini
8b6cee30ee
Prepare 0.11.2 ( #919 )
2023-11-23 09:49:21 +01:00
Paolo Barbolini
8c3bffa728
Bump MSRV to 1.70 ( #916 )
2023-11-19 11:42:49 +01:00
Paolo Barbolini
47eda90433
Prepare 0.11.1 ( #910 )
2023-10-24 23:47:49 +02:00
Paolo Barbolini
46ea8c48ac
Ignore rustls deprecation warning
2023-10-24 22:55:16 +02:00
Paolo Barbolini
5f7063fdc3
Fix accidental disabling of webpki-roots setup ( #909 )
2023-10-24 22:54:22 +02:00
Paolo Barbolini
283e21f8d6
Prepare 0.11.0 ( #899 )
2023-10-15 16:21:32 +02:00
Paolo Barbolini
20c3701eb0
Fix doctests ( #906 )
2023-10-15 16:04:12 +02:00
Marlon
bb49e0a46b
Construct a SmtpTransport from a connection URL ( #901 )
2023-09-23 08:48:36 +02:00
Paolo Barbolini
42365478c2
Revert "Added Address:new_unchecked ( #887 )" ( #904 )
...
This reverts commit 7e6ffe8aea .
2023-09-01 16:06:48 +02:00
Hugo
94769242d1
docs: improve documentation for AsyncSmtpConnection ( #903 )
...
Closes : #902
Co-authored-by: Paolo Barbolini <paolo@paolo565.org >
2023-08-25 10:55:56 +02:00
Wyatt Herkamp
7e6ffe8aea
Added Address:new_unchecked ( #887 )
2023-08-19 00:11:47 +02:00
Luc Lenôtre
16c35ef583
added headers_mut function on Message ( #889 )
...
Co-authored-by: Alexis Mousset <contact@amousset.me >
2023-08-18 23:39:38 +02:00
Alexis Mousset
bbab86b484
A few spelling and doc fixes ( #900 )
2023-08-16 21:56:33 +02:00
Edwin
a1cc770613
Fix RUSTSEC-2022-0093 ( #896 )
2023-08-15 10:50:03 +02:00
Paolo Barbolini
57886c367d
Fix latest clippy warnings ( #891 )
2023-07-27 20:32:47 +02:00
Paolo Barbolini
92f5460132
Bump MSRV to 1.65 ( #881 )
2023-06-23 07:11:57 +00:00
tecc
cd0c032f71
change: Add From<Address> implementation for Mailbox ( #879 )
...
from-address: It's a simple implementation - it uses the address as the address and uses `None` for the name parameter.
2023-06-22 10:22:41 +02:00
Paolo Barbolini
f41c9c19ab
Cherry-pick 0.10.4 release changelog
2023-04-02 11:47:26 +02:00
Paolo Barbolini
89673d0eb2
Bump MSRV to 1.63 ( #869 )
2023-04-02 11:20:51 +02:00
Clément DOUIN
5f37b66352
Improve mailbox parsing using chumsky ( #839 )
2023-02-20 14:09:23 +01:00
Paolo Barbolini
69e5974024
Hide internal optional dependencies using cargo's 1.60 dep: syntax ( #861 )
2023-02-20 12:00:32 +01:00
Paolo Barbolini
4fb67a7da1
Prepare 0.10.3 ( #860 )
2023-02-20 11:56:28 +01:00