Message Templates

From Studentnet Wiki
Revision as of 04:24, 24 April 2018 by Jrobertson (talk | contribs)
Jump to navigation Jump to search

A range of templates for messaging can be created and organised with the message templates list. The New Message Template button leads to a choice between a Welcome Email template and a Forgotten password template.

Welcome Email template

This template can be used when sending welcome messages to new users.

You can use the following special formatting options in this message:

  • $user_name: The new user's username.
  • $email: The new user's email address.
  • $first_name: The new user's first name.
  • $last_name: The new user's last name.
  • $password_reset_link: A link to start the Password Recovery process.
  • $change_password_link: A unique link for this user to immediately change their password.
  • $recovery_email: The new user's recovery email address.
  • $recovery_phone: The new user's recovery phone number.

You can also use any extra attributes your users might have, such as $salutation or $SIS_ID. Please note that a formatting option that does not match the above list or a user's custom attributes will be left in your email unchanged.

An example of the form for writing a Welcome Email template can be found below.

Welcome email.png

Forgotten Password template

This template can be used when sending recovery codes via email for users who are attempting to reset their password.

You can use the following special formatting options in this message:

  • $user_name: The user's username.
  • $code: The recovery code needed by the user to reset their password.
  • $continue_link: A link to continue the Password Recovery process.
  • $email: The user's email address.
  • $first_name: The user's first name.
  • $last_name: The user's last name.
  • $password_reset_link: A link to initiate Password Recovery.
  • $recovery_email: The user's recovery email address.
  • $recovery_phone: The user's recovery phone number.

An example of the form for writing a forgotten password template and an example of a message can be found below.

Password template.png

Example Password recovery message

Hi $first_name,

You've recently made a request to reset your Cloudwork password. <a href="$continue_link">Click here to reset your password</a>, or provide the following code in your browser:

$code

If you did not try to reset your password, please ignore this email.


Sincerely,


The Studentnet Support Team