Prerequisites
Email is configured on your site (use Mailhog or Mailcatcher for testing locally)
Setup
Login as admin
Create a new user
Navigate to Reports > Report builder > Custom reports in site administration
Create a new report from the Users report source
Ensure Include default setup is unchecked
Add the following columns to the report:
User > Full name with link
User > Email address
Press the Audience tab
Add the Manually added users audience
Select the admin user
Press the Schedules tab
Press New schedule
Name: My schedule
Starting from: 1 January 2030 09:00
Audience: Manually added users: Admin User
Subject: Hello
Body: Hola
Test sending
Note: Repeat the following steps for each of the following formats:
Comma-separated values (.csv)
Microsoft Excel (.xlsx)
HTML table - Supports HTML
Javascript Object Notation (.json)
OpenDocument (.ods)
Portable Document Format (.pdf) - Supports HTML
Press Edit schedule details
Set Format to the format being tested.
Save the changes.
Press Send schedule (the envelope icon)
Press Confirm in subsequent dialogue
Run cron. " php admin/cli/cron.php "
Confirm you receive an email to the admin account
If the format does support HTML:
Confirm the first column of the emailed attachment is a clickable link to the users' profile
If the format does not support HTML:
Confirm the first column of the emailed attachment contains only the users' full name in plain text and without HTML markup.
Custom report schedules (MDL-72598) should follow the same logic re. removing report HTML as when exporting the report manually (MDL-73275)
Both the aforementioned issues were integrated at the same time, so neither addressed the other