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

Display email address of administrator in error messages related to emails #626

Closed
zorun opened this issue May 21, 2020 · 2 comments
Closed

Comments

@zorun
Copy link
Collaborator

zorun commented May 21, 2020

Once #595 is merged, we will show an error message to the user if the email configuration of the server is broken.

In addition to that, it could be useful to give the email address of the server administrator in the error message, so that the user can actually report the issue.

@Glandos suggested using MAIL_DEFAULT_SENDER

Some limitations we should probably put in place:

  • don't do that if public project creation is forbidden (because it would reveal more information to unauthentified users)
  • check that MAIL_DEFAULT_SENDER is different from the default value (budget at notmyidea etc). If email configuration is broken, there's a good chance that MAIL_DEFAULT_SENDER is also not configured correctly.

Also, we should display the error message for a longer time to allow the user to see the email address: currently, messages disappear after just a few seconds.

@almet
Copy link
Member

almet commented Oct 17, 2021

I like this :-)

@zorun
Copy link
Collaborator Author

zorun commented Jul 30, 2023

We implemented all of this.

@zorun zorun closed this as completed Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants