-
-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emails with attachments are not sent on windows #894
Comments
lettre = { version = "0.10.4", default-features = false, features = [
"tokio1",
"tracing",
"webpki-roots",
"rustls",
"tokio1-rustls-tls",
] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been developing a script that monitors a folder if there are new files, when it detects a new one, it uploads it through an api and proceeds to send it by email via smtp gmail. The strange thing is that this only happens with windows, in linux it works perfectly. It is the same code and same SMTP credentials.
I already tried opening the ports in windows. I have tried the example that comes in the documentation and it works without problems, but I created my own function to send the mail and it doesn't work anymore.
It is worth mentioning that I have debugged the code and everything is fine until it reaches the last line of email_sender.rs, everything loads correctly and nothing else happens. It does not throw any error, nothing in the terminal
main.rs
email_sender.rs
Cargo.toml
The text was updated successfully, but these errors were encountered: