Email Templates

The repository sends emails for several events. Administrators can customize the content of these emails by editing the respective files on the server. The files are located in the Config/EmailTemplates/ directory in the repository installation directory.

Customize Email Content

The following files on the server determine the content of the emails. The JSON files in the Config/EmailTemplates/ directory can be modified to change the content of the emails. The HTML and text templates in the Design/ directory can also be modified to change the layout and design of the emails.

Email Type

JSON File

Design File

Welcome

WelcomeResetPassword.json

action.html (.txt)

Confirm Account

ConfirmAccount.json

action.html (.txt)

Reset Password

ResetPassword.json

action.html (.txt)

Feedback

Feedback.json

notification.html (.txt)

JSON File Structure

Each JSON file can have the following fields:

Subject

The subject of the email.

Paragraph1

The first paragraph of the email body.

Paragraph2

The second paragraph of the email body.

ActionText

Text for any action buttons or links.

AlertText

Text for any alert messages.

Closing

The closing text of the email.