Setup E-mail (optional)

Follow this guide to send e-mails like "Forgot password" mails.

SMTP

The easiest solution to send mails with Dopenote is to use SMTP.

Add this to your docker-compose.yml file, below the DB_PASSWORD environment variable.

    environment:
      - MAIL_DRIVER=smtp
      - MAIL_HOST=12.345.67.89
      - MAIL_FROM_ADDRESS=noreply@example.com
      - MAIL_PORT=25
      - MAIL_ENCRYPTION=null
      - MAIL_USERNAME=
      - MAIL_PASSWORD=${MAIL_PASSWORD}

Troubleshooting

If your emails doesnt get send you can check your log in the web container in the file /app/storage/logs/laravel-{DATE}.log

Last updated

Was this helpful?