Forgotten Password Email Template

From Studentnet Wiki
Jump to navigation Jump to search

Forgotten Password Email template

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

You can use these standard variables in any field of the Welcome Email template:

  • $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.

Complete the following fields for the new template:

  • Template Name: A short description of the email (this will display in the Message Templates List)
  • Subject: Subject line for the email
  • Message: Text of the email, written in html
  • From Address: The sending email address

Click Submit to create the new template.

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. Click <a href="$continue_link">here</a> to reset your password, or provide the following code in your browser when prompted:
$code

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

Sincerely,
The Studentnet Support team