mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: Planka does not send mail via SMTP, no SMTP logs #734
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 @romdev-kg on GitHub (Jun 10, 2025).
Where is the problem occurring?
None
What browsers are you seeing the problem on?
No response
Current behavior
Planka is running in Docker, all SMTP environment variables are set correctly (SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD, SMTP_FROM, SMTP_NAME, SMTP_SECURE).
Tried different SMTP servers and ports, changed SMTP_SECURE, added SMTP_NAME.
No emails are sent, and there are no SMTP-related messages in Planka logs (no errors, no attempts to send mail).
Mail-triggering events definitely occur (card subscription, action by another user).
What I tried:
Double-checked variable names (SMTP_PASSWORD, not SMTP_PASS).
Restarted container after changes.
Using latest Planka image (2.0.0-rc.3).
Verified SMTP server is accessible from host (telnet and swaks work).
Logs only show standard debug messages, nothing about SMTP.
Expected:
When trying to send an email, logs should show either success or error.
Email should be sent, or an error should be visible.
Actual behavior:
No emails, no logs about sending attempts.
Questions:
How can I force Planka to test SMTP and show logs?
Why are there no logs about sending attempts?
Is there a way to enable verbose SMTP logging?
environment:
Desired behavior
No response
Steps to reproduce
Steps to reproduce
Deploy Planka using the official Docker image and docker-compose.
Set up SMTP environment variables as described in the documentation.
Register a single user with a valid email address.
Create a board and add several cards.
Subscribe (watch) your own cards.
Move your own cards between columns and/or add comments to them as the same user.
Check your mailbox and review Planka logs for any SMTP activity.
Expected result:
An email notification is sent to the user’s email address when cards are moved or commented.
Actual result:
No email is received, and there are no SMTP-related messages or errors in the logs.
Other information
No response
@meltyshev commented on GitHub (Jun 10, 2025):
Hi! Thanks for reporting this. I'll test all the SMTP-related things once again.
@stufently commented on GitHub (Jun 15, 2025):
Any news? Have same problem
@meltyshev commented on GitHub (Jun 16, 2025):
I've just tested this in the production environment, and everything works fine for me. I also see all the logs in the console if something is misconfigured:
@juanjullian commented on GitHub (Jul 7, 2025):
I can ever see any logs in planka.log about that
@dmaus commented on GitHub (Sep 4, 2025):
Any news about this? I dont see any logging about mail sending (2.0.0-rc.3), nor does the SMTP work at all.
docker logs -f planka-planka-1 2025-09-04 07:29:11 [I] Initializing custom hook ('current-user') 2025-09-04 07:29:11 [I] Initializing custom hook ('file-manager') 2025-09-04 07:29:11 [I] Initializing custom hook ('query-methods') 2025-09-04 07:29:11 [I] Initializing custom hook ('smtp') 2025-09-04 07:29:11 [I] Initializing custom hook ('watcher')No matter what i do, nothing else gets logged
(- LOG_LEVEL=debug)@meltyshev commented on GitHub (Sep 5, 2025):
Hi! We've seen this issue a few times where there are no logs when sending emails, but whenever we try to reproduce it, an error does appear during sending... It's a bit difficult to investigate the root cause without seeing all the actions performed and the configuration.
It's also possible that email sending isn't triggered at all, since only 4 actions currently trigger emails: moving a card, commenting on a card, adding a member to a card, and mentioning in a comment (the last one hasn't been released yet). Additionally, actions performed by the current user do not trigger emails for that user.
@talondnb commented on GitHub (Sep 5, 2025):
If it helps, here's my working SMTP configs using gmail:
docker-compose.yml:
.env:
..and confirmed as above as well, not a lot of actions trigger the email. The most obvious I've faced is when assigning a member to a card.
@AnthonyLELUYER commented on GitHub (Oct 14, 2025):
Hello,
Same issue, except I have some weird logs:
Here is my conf:
@meltyshev commented on GitHub (Oct 14, 2025):
Hi! This warning isn't related to the SMTP, and we've already fixed it. Also, we've added SMTP configuration right in the UI, and you can test the connection there (and see the connection test log), so it'll be easier to debug. It should be released soon in the final v2 version. By the way, you can already try the UI configuration by switching to the
nightlybuild - just don't forget to switch back to the stable version once it's released.@AnthonyLELUYER commented on GitHub (Oct 14, 2025):
Nice thank you!
I switched to nightly but I can't find the SMTP config in UI. Under "Administration", I only have "Users" and "Webhooks".
@meltyshev commented on GitHub (Oct 14, 2025):
Oops, forgot to mention that the new SMTP tab will only be visible if SMTP_* environment variables are commented out.
@AnthonyLELUYER commented on GitHub (Oct 15, 2025):
Perfect, works great, thanks a lot!
@goldmont commented on GitHub (Dec 19, 2025):
Hi,
I have no SMTP_* variables but I still cannot see the SMTP tab (2.0.0-rc.4).