Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3264

Extend mail template length check to support inline images

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.3
    • Component/s: Mail, Mailbox
    • Labels:
      None

      Description

      In the admin section, the mail template can be configured. The MailTemplateAdminController adds a limit to the size of the mail template of 10'000. This limit is most likely random, there is no reason behind the limit. 

      For most situation this is enough, however when trying to add an inline image with src=data and base64 encoded image data, the size is too small. In addition, the user does not see what the problem is, there is no error dialog, it just doest not save. 

      The solution is to set the limit to something much larger. It should be possible to add a some-100k image to the footer of the mail template. 

       

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              gnaegi Florian Gnägi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m