Files
lettre/examples
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
..
2020-10-23 13:31:03 +02:00
2020-09-09 09:46:53 +02:00
2020-09-09 09:46:53 +02:00
2020-09-09 09:46:53 +02:00
2020-09-09 09:46:53 +02:00
2020-10-19 10:07:36 +02:00

Lettre Examples

This folder contains examples showing how to use lettre in your own projects.

Examples

  • smtp.rs - Send an email using a local SMTP daemon on port 25 as a relay.
  • smtp_tls.rs - Send an email over SMTP encrypted with TLS and authenticating with username and password.
  • smtp_starttls.rs - Send an email over SMTP with STARTTLS and authenticating with username and password.
  • smtp_selfsigned.rs - Send an email over SMTP encrypted with TLS using a self-signed certificate and authenticating with username and password.
  • The smtp_tls.rs and smtp_starttls.rs examples also feature asynchronous implementations powered by Tokio. These files are prefixed with tokio02_ or tokio03_.