Change account confirmation mail content on moodle

To change the account confirmation mail content on Moodle, you'll need to modify the confirmmail template. Here's a step-by-step guide:

Method 1: Using the Moodle interface

  1. Log in to your Moodle site as an administrator.
  2. Go to Site administration > Plugins > Web services > Email templates.
  3. Click on the Confirm mail template.
  4. Click the Edit button.
  5. Update the template content as needed.
  6. Click Save changes.

Method 2: Editing the template file

  1. Log in to your Moodle site as an administrator.
  2. Go to Site administration > Plugins > Web services > Email templates.
  3. Click on the Confirm mail template.
  4. Click the Download as file button.
  5. Edit the downloaded file (confirmmail.php) using a text editor or IDE.
  6. Update the template content as needed.
  7. Upload the modified file back to the same location.

Template variables

When editing the template, you can use the following variables to customize the content:

Example:

Dear {fullname},

Welcome to {site}! We're excited to have you on board.

To activate your account, please click on the following link:
{confirmurl}

Best regards,
The {site} team

Tips

After modifying the template, users will receive the updated confirmation email when they create a new account or request a password reset.