Change sendMail from value to use MAIL_ADDRESS in env file

Description

Sending reset password email when creating user has hardcoded value (used to be "notification", now is "noreply@openlmis.org"). This should at least get from the system environment MAIL_ADDRESS.

Environment

None

Activity

Show:
Chongsun Ahn
February 23, 2017, 7:27 PM

Is this the only place we hardcode the from field? We need to find any other reference to a hardcoded from string. https://github.com/OpenLMIS/openlmis-referencedata/blob/master/src/main/java/org/openlmis/referencedata/service/UserService.java#L201

Josh Zamor
February 23, 2017, 8:33 PM

Moving to done, SolDevelo folks please still comment on Chongsun's question above and re-open if we think there's still an issue out there.

Assignee

Chongsun Ahn

Reporter

Chongsun Ahn

Labels

None

Components

Sprint

None

Fix versions

Priority

Critical
Configure