Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Removing unwanted "system or script generated" Columns from Email Body
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:26 PM
679     0
I've written a powershell code to generate a table in the body of an email for select users. The result of the execution for some reason includes "RowError", "RowState", "Table", "ItemArray", and HasErrors columns. I do not know if these are hidden columns coming from a SQL view that my code is reading or my own code generating them with each line it processes. I have tried to have PowerShell simply ignore the columns in the body of the HTML but am not seeing any change with each test email sent.
The Code SQL