You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to compile an example that shows email sending. Got this error.
error[E0433]: failed to resolve: could not find `smtp` in `transport`
--> src/main.rs:2:17
|
2 | transport::smtp::authentication::Credentials, AsyncSmtpTransport, AsyncTransport, Message,
| ^^^^ could not find `smtp` in `transport`
error[E0432]: unresolved imports `lettre::AsyncSmtpTransport`, `lettre::AsyncTransport`, `lettre::Tokio1Executor`
--> src/main.rs:2:52
|
2 | transport::smtp::authentication::Credentials, AsyncSmtpTransport, AsyncTransport, Message,
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `AsyncTransport` in the root
| |
| no `AsyncSmtpTransport` in the root
3 | Tokio1Executor,
| ^^^^^^^^^^^^^^ no `Tokio1Executor` in the root
error[E0433]: failed to resolve: use of undeclared type `Credentials`
--> src/main.rs:9:10
|
9 | Credentials::new("smtp_username".to_string(), "smtp_password".to_string());
| ^^^^^^^^^^^ use of undeclared type `Credentials`
The text was updated successfully, but these errors were encountered:
Tried to compile an example that shows email sending. Got this error.
The text was updated successfully, but these errors were encountered: