I have a powershell script which outputs the html results to the body of an email.
The issue I have is that our application that applies our company disclaimer appears to be populating the disclaimer into the last cell of the html results output.
I want to put a line break or new line into my code so when the email gets sent and processed by the disclaimer application the disclaimer appears on a new line, seperate to output.
Here is the mailmessage parameters part of the script:
$mailMessageParameters = @{
From = $emailFrom
To = $emailTo
Subject = ("XenApp Farm Report - " + (Get-Date).ToString('dddd dd/MM/yyyy'))
SmtpServer = $smtpServer
Body = (gc $errorsHTM) | Out-String
Attachment = $resultsHTM
Thanks!