Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titleURAC 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>"
    },
	....
  }
}

The list of templates

NameDescription
addUserThe email content that a user receives while adding a new user
changeEmailThe email content that a user receives while changing the email to confirm the new email address
changeUserStatusThe email content that a user receives on status change
forgotPasswordThe email content that a user receives while resetting the password
invitePinThe email content that a user receives with the pin code once invited
joinThe email content that a user receives on join
resetPinthe email content that a user receives while resetting the pin

What data is available for you to be used in the email content

...