...
Code Block |
---|
|
<p>Dear <b>{{firstName}} {{lastName}}</b>, <br />
SOAJS administrator has created an account for you on {{ts}}<br />
{{#if link.addUser}}
Please click the following link to set a password to your account: <a href='{{link.addUser}}'>{{link.addUser}}</a>.<br /><br />
{{^}}
The administrator set as password the following: {{password}}<br /><br />
{{/if}}
Please note you can change your username and/or password in the 'My Account' section after you login.<br /><br />
Regards,<br/>
SOAJS Team.
</p> |
Multi lingual
Starting stingray URAC email supports multi lingual email content capabilities as follow:
Code Block |
---|
language | js |
---|
title | URAC mail configuration |
---|
|
{
"link": {
"join": "https://YOURDOMAIN/#/join/validate",
"forgotPassword": "https://YOURDOMAIN/#/resetPassword",
....
},
"mail": {
"join": {
"subject": "Welcome to SOAJS",
"path": "/opt/soajs/node_modules/soajs.urac/mail/urac/join.tmpl"
},
"forgotPassword": {
"subject": "Reset Your Password at SOAJS",
"content": "<p>Dear <b>{{ username }}</b>, <br />Your account status has changed to <b>{{ status }}</b> by the administrator on {{ ts|date('F jS, Y') }}.<br /><br /> Regards,<br/> SOAJS Team. </p>"
},
....
}
"fr": {
"link": {
"join": "https://YOURDOMAIN/#/join/validate",
"forgotPassword": "https://YOURDOMAIN/#/resetPassword",
....
},
"mail": {
"join": {
"subject": "Welcome to SOAJS",
"path": "/opt/soajs/node_modules/soajs.urac/mail/urac/join.tmpl"
},
"forgotPassword": {
"subject": "Reset Your Password at SOAJS",
"content": "<p>Dear <b>{{ username }}</b>, <br />Your account status has changed to <b>{{ status }}</b> by the administrator on {{ ts|date('F jS, Y') }}.<br /><br /> Regards,<br/> SOAJS Team. </p>"
},
....
}
}
} |