Custom email accounts

Use a custom email account to send Nice Document notifications from an address your recipients recognise, such as exams@example.org. Site administrators set up each account once. Course staff can then choose a sender for each notification rule.

Create an SMTP account

  1. Go to Site administration → Plugins → Activity modules → Nice Document.
  2. Under Custom email accounts, select Manage SMTP accounts, then Create SMTP account.
  3. Enter an Account label, such as Exams Office. This helps course staff identify the account in the sender list.
  4. Enter the Sender name and Sender email address that recipients should see. Use an address your email provider allows this account to send from.
  5. Enter the SMTP host, SMTP port, Connection security, SMTP username, and SMTP password supplied by your email provider.
  6. Select Save changes.

Test or manage an account

On the Manage SMTP accounts page, find the account and open the ⋯ menu in its Actions column.

  • Send test email sends a test message to your own Moodle email address using the saved account.
  • Edit lets you update the sender or connection details. Leave the password blank to keep the saved password.
  • Delete asks you to confirm removal. If any notification rules use this account, choose another sender for those rules first.

Choose a sender for a notification

Open the Nice Document activity and select Notifications. Course managers and editing teachers can configure the notification rule. Staff who only have permission to design the document can change the sender on existing email rules in that activity.

  1. Turn on Enable for the rule. Turn on Attach document beside it if the email should include the issued PDF when available.
  2. Under Notify, choose who should receive the message. For a transcript sent to a student, choose Document recipient.
  3. Use When to choose the event that sends the notification. Under Delivery method, choose Email or Moodle and email.
  4. Under Send from, next to Notify, choose a custom account or Moodle default to use the site’s outgoing email settings.
  5. Select Save changes. The rule also uses this sender when documents are issued in bulk.

Test a notification rule

At the bottom of the rule, select Send test notification. Review the preview, then select Send test notification in the preview window. The test goes to your own Moodle email address so you can check the sender, subject, and message before emailing recipients.

Was this page helpful?

Please tell us what went wrong.
255 characters remaining
Thanks! Your feedback helps us improve this page.
Please wait a few seconds before trying again.