Settings

Theme

Show HN: Demo of Rust Lettre crate for sending email using SMTP

2 points by jph 20 days ago · 1 comment · 1 min read


If you use Rust and want to learn about the Lettre crate for sending email using SMTP, here's a simple demonstration that can help with Lettre SMTP diagnostics and troubleshooting.

Feedback welcome, especially how to make it even easier for newcomers to diagnose SMTP issues. This code is all hand coded, no AI.

There are three implementations: synchronous, asynchronous with tokio1 rustls tls, asynchronous with tokio1 native tls.

https://github.com/joelparkerhenderson/demo-rust-lettre-sync

https://github.com/joelparkerhenderson/demo-rust-lettre-async-tokio1-rustls-tls

https://github.com/joelparkerhenderson/demo-rust-lettre-async-tokio1-native-tls

jphOP 20 days ago

Links:

https://github.com/joelparkerhenderson/demo-rust-lettre-sync

https://github.com/joelparkerhenderson/demo-rust-lettre-asyn...

https://github.com/joelparkerhenderson/demo-rust-lettre-asyn...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection