I recently came across this post : https://thwack.solarwinds.com/t5/SAM-Documents/HTML-EMAIL-TEMPLATE-FOR-WINDOWS-SCHEDULED-TASKS/ta-p/539317 where a HTML email template is given for when an alert is triggered, however when I put the html code into the email output of an alert the formatting is very different where there are large spaces in the page? It looks normal when the HTML file is opened in a browser or sent in an email.
does anyone know why this is happening and how to fix this?
Fixed this issue after a call with solarwinds
To clarify the issue the email alert was spaced out strangely as seen below
The issue was that the html code that I put for the message was not all in one line but separated into separate lines.
To fix all I needed to do was to compress the HTML into a single line using a online compressor and the format was fixed.