Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3846

Improve vacation notice appearance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • master
    • None
    • None

    Description

      I noticed that vacation notices generated by James look somewhat strange in Thunderbird, and probably other mail clients as well: It shows both the HTML and plain text variant of the message (see attached screenshot). This is likely caused by the Content-Type of multipart/mixed.

      I suggest we change this to multipart/alternative instead, so a HTML capable client will only show the HTML part, while a text-only client will show the text part instead.

      I also noticed that, after setting an HTML message and an empty text message by accident, the generated text part is naturally empty. This is OK for HTML-capable clients, but in the worst case a text-only client would show just an empty mail, even though there is content in the HTML part.

      I suggest we make the vacation notice generation more robust, and also generate a text message from HTML in this case, which will be more useful to the recipients.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kotto Karsten Otto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m