qbicsoftware / sample-notificator-cli

A command line tool to handle sample status change notifications
MIT License
0 stars 0 forks source link

Enable the generation and sending of HTML based notifications/emails #8

Closed Steffengreiner closed 3 years ago

Steffengreiner commented 3 years ago

Current Problem The sample-notificator-cli currently only allows for the generation of simple textbased email. This severly hinders the possibility of styling the generated mail and removes the possibility of adding embedded hyperlinks or other HTML elements to the generated mail.

Possible solution The CreateNotification Use Case should also provide the possibility to fill in an HTML template, which is then send via the mailutils process embedded in the EmailGenerator class.

Additional information One possible implementation for an HTML Template can be found in the fill-template branch To enable the sending of HTML based emails, the generated notification has to have a custom header specifying the content-type of the email. One possible implementation could be via the -a flag of the mailutils tool

jenniferboedker commented 3 years ago

solved with #20