You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Karsten Otto (Jira)" <se...@james.apache.org> on 2022/11/03 08:15:00 UTC

[jira] [Closed] (JAMES-3846) Improve vacation notice appearance

     [ https://issues.apache.org/jira/browse/JAMES-3846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karsten Otto closed JAMES-3846.
-------------------------------
    Resolution: Fixed

> Improve vacation notice appearance
> ----------------------------------
>
>                 Key: JAMES-3846
>                 URL: https://issues.apache.org/jira/browse/JAMES-3846
>             Project: James Server
>          Issue Type: Improvement
>          Components: Matchers/Mailets (bundled)
>    Affects Versions: master
>            Reporter: Karsten Otto
>            Priority: Minor
>         Attachments: Screenshot from 2022-11-02 12-36-54.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org