Skip to content

Enable HTML support for email templates. #2097

@jameswsullivan

Description

@jameswsullivan

Recently we got a question about being able to add "links over text" in the email templates and making the emails accessibility compliant so that the screen readers can read the links' texts out loud, rather than the full URL, such as, use
<a href="https://myurl.com/12345abcde">myurl</a> , rather than just https://myurl.com/12345abcde appearing in the email.

@wwtamu quickly found the two lines in VireoEmailSender.java and I tested with our instance and it worked alright, only thing I needed to do was edit the email template's texts and added some <p>, <br>, <a> to them to make the formatting look correct.

Here is the modification: https://github.com/jameswsullivan/Vireo/tree/enable-mime-html-email

Are there any objections to enabling this by default, or potentially making it "configurable" in case there are cases that would require "plain text only"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions