Generate a Change Password email
Description
Environment
Potential Workaround
is blocked by
relates to
Checklist
hideTestRail: Results
Activity

patty.wanningerNovember 8, 2018 at 8:47 PM
. I am not sure where to go to test this. Do we have access to the email box? A scenario would help. Thanks.

Jakub SkoczenJuly 23, 2018 at 3:38 PM
a placeholder feature calls for a FOLIO module responsible for formatting and sending e-mails. When built, this module would offer a RESTful JSON API for sending e-mails (with FOLIO SMTP configuration stored in mod-config) and formatting e-mails with a selected templating language (Patron Notice stories talk about a particular templating language implementation). API design and implementation of this module has not started yet. and I have discussed that one approach would be for you to work on a proposal for an API for such module.

Natalia ZaitsevaJuly 20, 2018 at 1:59 PMEdited
Thank for details. I also have questions to the issue:
Will we have email templates? Is there is a chance that we will have more than one template?
What about email styling?
What SMTP server will we use?
Do we have "folio-administration@folio.org" account or it assumed to be created by dev team?
Will we have a translation to other languages? If yes, whom I can get this translation from (google translator/native speaker, etc.)?

Khalilah GambrellJuly 20, 2018 at 12:58 PMEdited
Slack conversation with Heikki Levanto.
Hey Heikki, I am working on local password management requirements. We have two requirements in which the user must receive an email when s/he changes his/her password AND user must receive an email when the Folio Administrator clicks a link that triggers sending a Set your password email to a user. I noticed you have worked on mod-notify, would the work you have done so far address this requirement?
Heikki Levanto [4:09 AM]
Well, in principle yes.
At the moment, mod-notify only stores the notification in the database, and I think the UI can display it when the user logs in. That will not work in practice. But the plan is that mod-notify will be extended to send email, SMS, and other forms of messages. I have no idea how far we are with that part of the project, and how high priority it has.
You might use mod-notify for now, at least to get started. Even if you would need a different module, the interface is likely to be similar, so it should not be a very hard thing to change.
Khalilah Gambrell [7:13 AM]
So we have the ability to store the notification template sent to a user?
Heikki Levanto [7:14 AM]
No, there is no templating yet. You can post a message to mod-notify together with the userId for whom it is, and that's all.
Khalilah Gambrell [7:19 AM]
So we store the notification sent to the user?
Heikki Levanto [7:19 AM]
Yes. At least until it has been shown to the user.
Khalilah Gambrell [7:19 AM]
Ah ok
Thanks. So we store that the notification has been sent. But the mechanism to send the notification to the user has not been developed yet?
Heikki Levanto [7:23 AM]
Not yet. I think the UI can display the message, when the user is on line. Useless for telling the password, I know, but can at least be used to verify that the message has been posted correctly.
Khalilah Gambrell [7:27 AM]
And one more question. To confirm, you think the work to send an email to a user that his/her password change should happen in mod-notify for now?
Heikki Levanto [7:28 AM]
It is my understanding that there are plans to extend mod-notify to handle all kind of messaging, so yes. Unless the plans get changed. But for now, yes, use mod-notify.

Khalilah GambrellJuly 19, 2018 at 12:59 PM
and , currently Chrome is the only browser Folio officially supports BUT for this user story, I like for us to test with the latest two versions of Chrome and Safari.
Mobile web - I am unsure I understand. Is the question related to responsive design?
Mobile email client - We should test with Outlook for now. Will confirm other clients.
As a Folio user
I want to be notified when my password has changed
So that I am aware of any change to my Folio account.
From Email Address: folio-administration@folio.org
From Email Name: Folio Administration
To Email Address: <<user email address>>
Subject Line: Your Folio password changed
Email Body
Dear <<First name>>,
Your password has been changed.
This is a confirmation that your password was changed on < hh:mm>> <<time zone>> on <<Month DD, YYYY>>.
Did not change your password? Contact your Folio System Administrator to help secure your account.
Regards,
Folio Support
Date/Time Stamp requirements
Time included in the email should represent the server time that the password changed occurred.
If possible convert the time based on user's location
Time zone should reflect the time displayed in email
Date should represent the server time
And if time can be converted based on user's location then Date should reflect that conversion.
From email address
A user is unable to reply to this email folio-administration@folio.org
Implementation Details
Script template email to the template db/module
Email template formats
HTML
Text
Test against the following browsers
Chrome (last two versions)
FF (last two versions)