qbicsoftware / sample-notificator-cli

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

E2.02/send html email #20

Closed Steffengreiner closed 3 years ago

Steffengreiner commented 3 years ago

Description of changes Introduces HTML based email sending via the sendmail linux command line utility.

Technical Information Sendmail provides the possiblity to send HTML based emails via the linux commandline. However for this to work sendmail has to know what kind of content is provided as an input which is done via a dedicated headersection. Therefore the adapted and filled emailTemplate email-update-template.html has to be prepended with the header information provided in the header.txt file so sendmail can determine the content-type of the provided emailbody.