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

Default from email address #4657

Closed
cnzqy1 opened this issue Jun 10, 2020 · 0 comments · Fixed by #4701
Closed

Default from email address #4657

cnzqy1 opened this issue Jun 10, 2020 · 0 comments · Fixed by #4701
Assignees
Labels

Comments

@cnzqy1
Copy link

cnzqy1 commented Jun 10, 2020

I noticed that the default from email address is hardcoded to be "[email protected]". Due to security reasons, many SMTP servers either disallow SMTP relay or require sender identity verification. A potential solution might be to expose the option of from email address in application.conf, such as:

mail {
  ...
  from = (email address here)
  ...
}

And use this email as the from address. Similarly, for new user registration emails sent to administrators, instead of using registered user's email as the from address, use this same from address in application.conf, and provide registered user's email address in the body of the email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants