deck9 / input

A privacy-focused, no-code, open-source form builder designed for simplicity and brand consistency.
https://getinput.co
GNU Affero General Public License v3.0
196 stars 31 forks source link

HTTP error 500 when trying to send mail #174

Closed SystemFuchs closed 1 month ago

SystemFuchs commented 1 month ago

I've added the following parameters to the docker compose file:

environment:
      - APP_URL="myurl"
      - APP_KEY="base64:mykey="
      - DB_CONNECTION="sqlite"
      - SESSION_DRIVER="file"
      - CACHE_DRIVER="file"
      - MAIL_MAILER=smtp
      - MAIL_HOST=smtp.office365.com
      - MAIL_USERNAME=myloginuser
      - MAIL_PASSWORD=mypassword
      - MAIL_PORT=587
      - MAIL_ENCRYPTION=tls

When I try to request a password reset link I'm getting a 500 server error:

image

Not sure where I can find logs inside the container to troubleshoot this problem

SystemFuchs commented 1 month ago

Problem could be solved. You have to define MAIL_FROM_ADDRESS in the Docker .env otherwise mail will not work.