Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verifying email configuration #226

Closed
isolin opened this issue Jul 18, 2018 · 5 comments
Closed

Verifying email configuration #226

isolin opened this issue Jul 18, 2018 · 5 comments
Milestone

Comments

@isolin
Copy link

isolin commented Jul 18, 2018

I managed to create an LXD image for Ubuntu Minimal Server for kimai2. Everythink seems to be running well, except for sending emails.

I installed and configured the basic mailservices package and set up postfix with default values (following How to Install and Configure Postfix as a Send-Only SMTP Server). I set the recommended value for SMTP in .env.

Would please be possible to:

  • Include a verification script that sends a dummy email, to find out whether the settings are fine?
  • Explain in the installation instruction when to expect emails being sent? E.g. when I create a user, does she/he get an email notification?
@kevinpapst
Copy link
Member

kevinpapst commented Jul 18, 2018

Hi @isolin ,
Kimai2 is not yet sending out any emails.
If you want to test emails, check the branch in this PR: #216

It includes user registration and password reset. The password reset sent emails by default, the first one can be reconfigured to sent emails as well.

@isolin
Copy link
Author

isolin commented Jul 22, 2018

Thanks for the tip, so there is nothing is should worry about and I will check once the functionality is in the master :)

@kevinpapst
Copy link
Member

I merged it today, so it is in master (next release will follow in around a week).

You have to adjust two things:

Currently you should receive an email for the "password forgotten" feature that is accessible from the login form.

You can also activate the "user approval" by setting this value to true: https://github.com/kevinpapst/kimai2/blob/master/config/packages/fos_user.yaml#L10
Then you should receive an email when registering a new user from the login form.

@kevinpapst
Copy link
Member

I added some docs about email at https://github.com/kevinpapst/kimai2/blob/master/var/docs/emails.md

If you have further questions, you can re-open the issue.

@lock
Copy link

lock bot commented Nov 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Nov 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants