Closed matze338 closed 1 year ago
EMAIL_USE_TLS=1
EMAIL_USE_SSL=0
Port 465 is SSL, not TLS - switch those 2 lines and it should work.
Good Mornung. After your reply, I did some testing in Bitwarden (Since it was there easier to test SMTP-Settings on my mobile-phone).
I don't know why my settings in Bitwarden with port 465 had worked. Either the implementation for "force_tls" in port 465 is not 100% there or I don't know either. If I change there to port 587 and use "starttls" then it works there as before with the other settings.
So I want to use tls and not ssl i changed the port to 587 at Tandoor with
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=1
EMAIL_USE_SSL=0
and it works!
Thanks @smilerz!
Issue
I try to set the email settings to send over gmail. But no e-mail is send and i do not get any error in the docker logs.
Accordion to https://github.com/TandoorRecipes/recipes/issues/1135#issuecomment-1025163055 for debugging i also tried do send mails over
python manag.py sendtestemail mail@host,com
than i get the following error
Similar Settings in Vaultwarden is working with Gmail
What i need to do, that i can send E-Mails from Tandoor with Gmail?
Thanks :)
Tandoor Version
1.4.5
OS Version
DSM 7.1
Setup
Docker / Docker-Compose
Reverse Proxy
Others (please state below)
Other
Synology Build in Reverse Proxy
Environment file
Docker-Compose file
Relevant logs
No response