Commit Graph

72 Commits

Author SHA1 Message Date
RotationMatrix
04f064ed5a Add README for examples (#489)
* Add README for examples

* Fix typo in examples/README.md

Co-authored-by: Paolo Barbolini <paolo@paolo565.org>

* Update examples/README.md

Add links to source files and improve wording.

* Fix typos in examples/README.md

* Update examples/README.md

Fix typo.
Add line under title.

Co-authored-by: Paolo Barbolini <paolo@paolo565.org>

* Fix typo in examples/README.md

Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
2020-10-23 13:31:03 +02: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
Paolo Barbolini
bfd3300df3 Improve comments in smtp selfsigned example 2020-10-04 10:17:09 +02:00
Paolo Barbolini
6526eff5b2 Allow configuring a custom root certificate in TlsParametersBuilder 2020-10-04 10:17:09 +02:00
Alexis Mousset
31a3be1cba run cargo fmt 2020-09-09 09:46:53 +02:00
Paolo Barbolini
542ea4ffd2 refactor(logging): move from log to tracing 2020-08-28 12:36:58 +02:00
Paolo Barbolini
c0ef9a38a1 Implement async smtp via tokio 0.2 2020-08-22 18:44:36 +02:00
Manuel Pelloni
f865fc1bce Implement creating SmtpTransport using STARTTLS 2020-08-19 12:12:59 +02:00
Paolo Barbolini
fbbd015109 Update docs and examples for 0.10 2020-08-02 22:39:25 +02:00
Alexis Mousset
c43e205212 feat(transport-smtp): Refactor connection pooling 2020-05-08 17:16:27 +02:00
Alexis Mousset
0604030b91 Remove SmtpClient and make transport immutable
in Transport methods. Also make proper use of
connection pools.
2020-05-01 22:25:12 +02:00
Alexis Mousset
7f22a98f2f feat(builder): Improve Message representation
* Remove bytes dependency and rely directly on bytes vec
* Allow encoding non-utf-8 strings
* Use Vec<u8> instead of Display for email formatting
2020-04-28 23:45:03 +02:00
Alexis Mousset
53aa5b4df6 Replace email builder by a new implementation (#393)
* Update dependencies (#386)

* Update dependencies and set MSRV to 1.40

* update hyperx

* Use display instead of description for errors

* Make hostname an optional feature

* Envelope from headers

* Update hyperx to 1.0

* rename builder to message

* Cleanup and make Transport send Messages

* Update rustls from 0.16 to 0.17

* Move transports into a common folder

* Merge imports from same crate

* Add message creation example to the site

* Hide "extern crate" in doc examples

* Add References and In-Reply-To methods

* Add message-id header

* Add blog posts and improve doc examples
2020-04-18 21:10:03 +00:00
Alexis Mousset
ce37464050 feat(all): Merge Email and SendableEmail into lettre::Email 2019-12-18 16:51:04 +01:00
mibac138
0f3f27fdb6 feat(all): Merge lettre_email into lettre with a builder feature 2019-11-30 20:22:44 +01:00
Alexis Mousset
73c5630634 style(all): Run clippy without errors 2017-05-21 13:09:31 +02:00
Alexis Mousset
73c957e350 docs(all): Add an example for simple builder usage and smtp transport 2016-10-23 12:37:30 +02:00
Alexis Mousset
40e749a04a style(formatting): Run rustfmt 2015-10-26 22:51:07 +01:00
Alexis Mousset
62df24c5b1 Add file transport 2015-10-25 17:47:07 +01:00
Alexis Mousset
7ac43b73c3 Remove Mailer struct 2015-10-25 15:29:40 +01:00
Alexis Mousset
250ed7bcf4 Add SMTPUTF8 support 2015-10-21 23:02:14 +02:00
Alexis Mousset
54758ebde9 Rename rust-smtp to lettre, add multiple transports support 2015-10-14 23:44:25 +02:00
Alexis Mousset
fefb5f7978 smtps with rust-openssl 2015-10-11 19:56:02 +02:00
Alexis Mousset
8d60068831 Remove last panics 2015-07-23 00:48:49 +02:00
Alexis Mousset
c2506b47fc License modified to MIT only 2015-07-15 22:53:12 +02:00
Alexis Mousset
cecc11f74e Prepare 0.1.0 2015-07-15 21:40:19 +02:00
Alexis Mousset
5ecdabbce7 Threads in example client 2015-07-15 20:10:34 +02:00
Alexis Mousset
3195959de8 rename mailer to email 2015-06-27 16:14:14 +02:00
Alexis Mousset
3b78455b22 Add tests for Email 2015-06-27 14:37:13 +02:00
Alexis Mousset
a4ada1b6ef Remove uneeded use 2015-05-06 21:39:22 +02:00
Alexis Mousset
ee8da8196a Start refactoring streams to introduce a mock server 2015-04-22 21:52:03 +02:00
Alexis Mousset
d59672ef26 Get ready for rust 1.0.0-beta 2015-04-04 23:32:14 +02:00
Alexis Mousset
c869ea0176 Remove uneeded features 2015-03-20 19:58:52 +01:00
Alexis Mousset
92f1e3a297 Separate low and high level SMTP methods 2015-03-13 22:10:29 +01:00
Alexis Mousset
24e6eeb9d2 Update to new io and improve reply handling 2015-03-13 01:04:38 +01:00
Alexis Mousset
3a86f09475 Fix Email Sender 2015-03-04 14:04:08 +01:00
Alexis Mousset
2fa499629d Email builder 2015-03-04 11:04:07 +01:00
Alexis Mousset
487f845f85 Builder for the Client 2015-03-02 17:25:02 +01:00
Alexis Mousset
4907ce623a Fix connection reuse in example client 2015-03-01 21:09:15 +01:00
Alexis Mousset
a35e691065 Improve example client 2015-02-28 19:29:27 +01:00
Alexis Mousset
8a55029c7d use std::env instead od std::os 2015-02-27 19:57:15 +01:00
Alexis Mousset
7c0a998a5e Add features to silent warnings 2015-02-27 19:42:11 +01:00
Alexis Mousset
f1489ae2c8 Update tests to follow rust upgrade 2015-02-27 16:58:57 +01:00
Alexis Mousset
96487a1937 Rust update: Fix tests 2014-12-25 13:27:23 +01:00
Alexis Mousset
57b533c59a Add some configuration management 2014-12-15 23:51:52 +01:00
Alexis Mousset
1f9f376441 Improvements on SMTP error handling 2014-12-15 14:51:21 +01:00
Alexis Mousset
74156cb099 Rename send_email to send in the Client 2014-12-13 01:28:19 +01:00
Alexis Mousset
cc2be13588 Add SendableEmail trait 2014-12-10 12:31:45 +01:00
Alexis Mousset
fc2b715c97 New intermediate email type 2014-12-10 11:51:14 +01:00
Alexis Mousset
693a18b6a1 Update documentation 2014-12-07 14:28:04 +01:00