Skip to content

error: Email service not configured. Cannot send email notification. #216

Description

@ziffusion

Describe the bug
I have configured email service in the docker compose. But email fails with the error message:

Email service not configured. Cannot send email notification.

To Reproduce
Steps to reproduce the behavior:

  1. Configure email service in the docker compose.
    - SPRING_MAIL_ENABLED=true
    - SPRING_MAIL_HOST=<server>
    - SPRING_MAIL_USERNAME=<user>
    - SPRING_MAIL_PASSWORD=<password>
    - SPRING_MAIL_PORT=587
  2. Schedule a notification to be sent.
  3. Watch the log for error.

Expected behavior
Email goes out.

Screenshots
N/A

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
docker image: ghcr.io/jofoerster/habitsync:0.19.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions