Paolo Barbolini
a81401c4cb
Fix latest clippy warnings ( #979 )
2024-08-23 09:24:05 +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
Alexis Mousset
bbab86b484
A few spelling and doc fixes ( #900 )
2023-08-16 21:56:33 +02:00
André Cruz
fab6680150
Fix clippy warnings ( #807 )
...
Depending on the features chosen these attributes were left
unused.
2022-07-25 18:00:17 +02:00
Paolo Barbolini
44e4cfd622
clippy: make rules stricter ( #784 )
2022-06-16 19:42:13 +02:00
Filip Gospodinov
592593f4b8
Expose test_connected via transport ( #677 )
...
It is useful for application developers to validate SMTP
settings by testing the connection.
Co-authored-by: Alexis Mousset <contact@amousset.me >
2021-10-20 16:42:49 +02:00
Paolo Barbolini
55c2618201
Fix latest clippy warnings ( #655 )
2021-08-02 09:26:34 +00:00
Paolo Barbolini
b534a18017
Async pool implementation ( #637 )
2021-06-29 15:23:47 +00:00
Paolo Barbolini
4471759221
Implement connection timeouts for AsyncSmtpTransport ( #635 )
2021-06-17 22:39:48 +00:00
Paolo Barbolini
ed454819ee
Refactor pool module ( #636 )
...
* Move pool to it's own module
* pool: deprecate configuring the connection timeout
2021-06-13 14:36:47 +02:00
Paolo Barbolini
94cae6df0d
Drop tokio 0.2 support ( #617 )
2021-05-12 19:09:30 +02:00
Alexis Mousset
a4be3c4cd8
Add InvalidHeaderName error ( #608 )
...
* Add InvalidHeaderName error
2021-05-01 22:00:33 +02:00
Paolo Barbolini
a429a24913
Add missing Debug implementations ( #570 )
2021-03-14 10:17:07 +01:00
Paolo Barbolini
f7066ac858
Fix various parts of the docs ( #563 )
2021-03-12 20:02:31 +01:00
Paolo Barbolini
34ac265d60
Remove deprecated executor methods
2021-03-08 10:59:28 +01:00
Paolo Barbolini
5c83120986
Executor refactor ( #545 )
...
* Executor
* Move transports inside the transport module
* AsyncTransport refactor
* Update examples
* Update docs
* impl Default for AsyncSendmailTransport
* Implement AsyncFileTransport::read
* Generalize AsyncFileTransport AsyncTransport implementation
* Remove remaining uses of AsyncSmtpConnector
2021-02-27 16:36:59 +00:00
Paolo Barbolini
40c8a9d000
Better seal AsyncSmtpConnector ( #534 )
2021-01-31 16:42:37 +00:00
Paolo Barbolini
20d0f8f3ba
Add async-std support to smtp transport ( #531 )
...
* Add async-std support to smtp transport
* fix Tls import
* fix copy paste
* too many imports
* Temporarely skip async-std native-tls support
* Fix panic message
* TlsParameters: use rustls when async-std is enabled
2021-01-28 11:07:15 +01:00
Paolo Barbolini
7f384bc983
clippy: fix 1.49 lints ( #530 )
2021-01-05 21:26:58 +00:00
Paolo Barbolini
1a0c344c91
Update to tokio 1.0 ( #529 )
2020-12-25 21:01:21 +00:00
Paolo Barbolini
210133a078
docs: run cargo spellcheck ( #524 )
2020-12-23 14:04:26 +01:00
RotationMatrix
227da8ac09
Add HTML examples ( #496 )
...
* Add HTML email example
* Add comment about creating `SmtpTransportBuilder`
Add similar comment to `AsyncSmtpTransportBuilder`
* Improve wording and fix typos
* Add file_html example to Cargo.toml
* Update examples/README.md
Co-authored-by: Paolo Barbolini <paolo@paolo565.org >
* Use intra-doc links
* Rename file_html example to basic_html
* Add maud HTML example
* Make CI happy
* Fix CSS
* Fix maud version
Co-authored-by: Paolo Barbolini <paolo@paolo565.org >
2020-11-22 17:29:09 +01:00
Paolo Barbolini
697da9f7db
Tokio 0.3 support ( #485 )
...
* Tokio 0.3 support
* Tokio 0.3 TLS support
* Tokio 0.3 sendmail transport
* Tokio 0.3 file transport
* Forgotten re-exports
* Tokio 0.3 examples
* fix tokio 0.2 file-transport
* It works
2020-10-19 10:07:36 +02:00
RotationMatrix
449f317246
Add doc_cfg attributes ( #483 )
...
* docs(Cargo.toml): Add `cfg(docsrs)` to `rustdoc` args
* docs(all): Enable doc_cfg crate feature
* docs(transport): Add doc_cfg to Transport traits
* docs(all): Add doc_cfg to public modules
* docs(transport-async): Add doc_cfg to Tokio02Connector
* docs(transport-smtp): Add doc_cfg to Smtp Error
* docs(transport-smtp): Add doc_cfg to TlsParameters
2020-10-13 09:18:41 +02:00
Paolo Barbolini
30a8797acf
Add TlsParametersBuilder with dangerous options
2020-09-23 19:18:24 +02:00
Paolo Barbolini
bf32554e51
chore: fix unused mut warning
2020-09-09 13:12:26 +02:00
Alexis Mousset
31a3be1cba
run cargo fmt
2020-09-09 09:46:53 +02:00
Paolo Barbolini
393d414700
Improve documentation for SmtpTransport methods
2020-09-08 22:48:37 +02:00
Paolo Barbolini
c0ef9a38a1
Implement async smtp via tokio 0.2
2020-08-22 18:44:36 +02:00