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
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 theEmailGenerator
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