Failed to send an email notification

Problem

When the system is sending a notification to the client the following message pops up: "Advice: Failed to send an email notification to the client. Cannot send email because referenced files or images are not accessible".

Solution

The problem here is located in the email stationery, as one referred file or image can no longer be found:

  1. Go to Templates > Email Stationery
  2. Find which of these email templates is the one with the missing link

    The best way to find the failing template is to reverse-engineer the process: if the message would be sent to a client, then ClientFacingSystem would probably be the one; if the message was going to a staff member, Stagg2StaffFacingSystem should be the faulty one.

  3. Open the template and click on the failing file/image
  4. Open the HTML version and find the details of the missing file
  5. From here you have 2 ways to fix it:
    1. recover the missing file to the same location (which should fix all possible reference issues across the board)
    2. fix the file reference in the template (this needs to be done in each faulty template)