We have a custom C# script to send an email on deployments.
We using suggested objects to access data.
message.IsBodyHtml = true;
var body = "Release notes:<br/>"+ Octopus.Parameters["Octopus.Release.Notes"];
We define release notes nicely with lists and styling and new lines, but when we send an email all styles are stripped.
How do make sure that the release notes contain styles defined when writing them in the release, on email?
Is there something that we could use to keep them in html format in email ?