[Bug]: SMTP email notifications are not being sent #719

Open
opened 2026-02-04 21:05:02 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @marcantonioschulz on GitHub (May 28, 2025).

Where is the problem occurring?

I encountered the problem while interacting with the server (Backend)

What browsers are you seeing the problem on?

Chrome

Current behavior

  • E-Mail-Benachrichtigungen (z. B. bei Board- oder Card-Updates) werden nicht versendet.
  • Im Log finde ich keine Fehlermeldungen; das SMTP-Modul scheint zu starten, aber es bleibt still.

Desired behavior

  • Planka versendet automatisch E-Mails gemäß SMTP-Konfiguration (z. B. SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD, etc.)
  • Bei Fehlern im SMTP-Handshake sollten aussagekräftige Logs erscheinen.

Steps to reproduce

(Passwörter, Tokens und geheime Schlüssel wurden durch Platzhalter ersetzt):

version: '3.8'
services:
  planka:
    image: ghcr.io/plankanban/planka:2.0.0-rc.2
    restart: on-failure
    volumes:
      - favicons:/app/public/favicons
      - user-avatars:/app/public/user-avatars
      - background-images:/app/public/background-images
      - attachments:/app/private/attachments
    ports:
      - 1337:1337
    environment:
      - BASE_URL=https://planka.example.com
      - DATABASE_URL=postgresql://postgres@postgres/planka
      - SECRET_KEY=<your-secret-key>
      - LOG_LEVEL=debug
      - TRUST_PROXY=true
      - DEFAULT_LANGUAGE=en-US
      - DEFAULT_ADMIN_EMAIL=<admin@example.com>
      - DEFAULT_ADMIN_PASSWORD=<admin-password>
      - DEFAULT_ADMIN_NAME=<Admin Name>
      - DEFAULT_ADMIN_USERNAME=<admin-username>
      - SMTP_HOST=<smtp-host>
      - SMTP_PORT=465
      - SMTP_SECURE=true
      - SMTP_USER=<smtp-user>
      - SMTP_PASSWORD=<smtp-password>
      - SMTP_FROM="Your App" <no-reply@example.com>
      - SMTP_TLS_REJECT_UNAUTHORIZED=false
    depends_on:
      postgres:
        condition: service_healthy

  postgres:
    image: postgres:16-alpine
    restart: on-failure
    volumes:
      - db-data:/var/lib/postgresql/data
    environment:
      - POSTGRES_DB=planka
      - POSTGRES_HOST_AUTH_METHOD=trust
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres -d planka"]
      interval: 10s
      timeout: 5s
      retries: 5

volumes:
  favicons:
  user-avatars:
  background-images:
  attachments:
  db-data:


### Other information

_No response_
Originally created by @marcantonioschulz on GitHub (May 28, 2025). ### Where is the problem occurring? I encountered the problem while interacting with the server (Backend) ### What browsers are you seeing the problem on? Chrome ### Current behavior - E-Mail-Benachrichtigungen (z. B. bei Board- oder Card-Updates) werden nicht versendet. - Im Log finde ich keine Fehlermeldungen; das SMTP-Modul scheint zu starten, aber es bleibt still. ### Desired behavior - Planka versendet automatisch E-Mails gemäß SMTP-Konfiguration (z. B. `SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASSWORD`, etc.) - Bei Fehlern im SMTP-Handshake sollten aussagekräftige Logs erscheinen. ### Steps to reproduce (Passwörter, Tokens und geheime Schlüssel wurden durch Platzhalter ersetzt): ```yaml version: '3.8' services: planka: image: ghcr.io/plankanban/planka:2.0.0-rc.2 restart: on-failure volumes: - favicons:/app/public/favicons - user-avatars:/app/public/user-avatars - background-images:/app/public/background-images - attachments:/app/private/attachments ports: - 1337:1337 environment: - BASE_URL=https://planka.example.com - DATABASE_URL=postgresql://postgres@postgres/planka - SECRET_KEY=<your-secret-key> - LOG_LEVEL=debug - TRUST_PROXY=true - DEFAULT_LANGUAGE=en-US - DEFAULT_ADMIN_EMAIL=<admin@example.com> - DEFAULT_ADMIN_PASSWORD=<admin-password> - DEFAULT_ADMIN_NAME=<Admin Name> - DEFAULT_ADMIN_USERNAME=<admin-username> - SMTP_HOST=<smtp-host> - SMTP_PORT=465 - SMTP_SECURE=true - SMTP_USER=<smtp-user> - SMTP_PASSWORD=<smtp-password> - SMTP_FROM="Your App" <no-reply@example.com> - SMTP_TLS_REJECT_UNAUTHORIZED=false depends_on: postgres: condition: service_healthy postgres: image: postgres:16-alpine restart: on-failure volumes: - db-data:/var/lib/postgresql/data environment: - POSTGRES_DB=planka - POSTGRES_HOST_AUTH_METHOD=trust healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d planka"] interval: 10s timeout: 5s retries: 5 volumes: favicons: user-avatars: background-images: attachments: db-data: ### Other information _No response_
Author
Owner

@meltyshev commented on GitHub (May 30, 2025):

Hi! Thanks for reporting this. Quick question: have you tested notifications with a different user? Notifications usually aren't sent to the current user or to users who aren't subscribed. I'll double-check everything on our end as well.

@meltyshev commented on GitHub (May 30, 2025): Hi! Thanks for reporting this. Quick question: have you tested notifications with a different user? Notifications usually aren't sent to the current user or to users who aren't subscribed. I'll double-check everything on our end as well.
Author
Owner

@gkellershs commented on GitHub (Nov 10, 2025):

Hi,
how could I debug the mail sending process, is a log available? When is a mail sent, every time I got message under the bell ?

@gkellershs commented on GitHub (Nov 10, 2025): Hi, how could I debug the mail sending process, is a log available? When is a mail sent, every time I got message under the bell ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#719