返回首页
最新
我正在学习如何使用 Rust 的 Lettre 库通过 SMTP 发送电子邮件,并创建一个简单的演示,以帮助进行 Lettre SMTP 的诊断和故障排除。<p>欢迎反馈,特别是如何让新手更容易诊断 SMTP 问题。这个代码完全是手动编写的,没有使用 AI。<p>该项目有三种实现方式:同步、使用 tokio1 rustls tls 的异步和使用 tokio1 native tls 的异步。<p>链接如下:<br>https://github.com/joelparkerhenderson/demo-rust-lettre-sync<br>https://github.com/joelparkerhenderson/demo-rust-lettre-async-tokio1-rustls-tls<br>https://github.com/joelparkerhenderson/demo-rust-lettre-async-tokio1-native-tls