mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: SMTP issue, no email sent #620
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @IoSonoPiero on GitHub (Dec 16, 2024).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
Chrome, Firefox, Microsoft Edge
Current behaviour
After searching and reading other issues, I'm unable to let e-mails to work.
In docker-compose.yml,
I filled the fields with values that I use with other containers and I'm unable to send emails.
Using:
# Email Notifications (https://nodemailer.com/smtp/)
- SMTP_HOST=smtp.gmail.com
- SMTP_PORT=465
- SMTP_SECURE=true
- SMTP_USER=name.surname@gmail.com
- SMTP_PASSWORD=secretpassword
- SMTP_FROM="Planka" name.surname@gmail.com
- SMTP_NAME="name.surname@gmail.com"
I got:
[E] Error sending email: Error: Connection closed unexpectedly
Changing port to 587, with SMTP_SECURE tried with false and true,
I got:
[E] Error sending email: Error: A09D15F0BDF00000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:
I use the same parameters with other containers, and the email work.
Desired behaviour
E-mail works with parameters used in other containers that sent emails.
Steps to reproduce
I compiled and double checked values, and every time I add a comment between two users,
I got:
[E] Error sending email: Error: Connection closed unexpectedly
Other information
No response
@IoSonoPiero commented on GitHub (Dec 19, 2024):
Hello people, I solved in this way, if someone has the same issue with Gmail.
Hope this help!
@IoSonoPiero commented on GitHub (Dec 19, 2024):
Hello people, I solved in this way, if someone has the same issue with Gmail.
Hope this help!