This is great, thanks! The email I was getting didn't contain anything, so I made a few changes that I thought I'd share.
First, one of our clients has a comma in their name and it was messing up the csv. So I put quotes around @sqlCompany@
![Image]()
I added a line to download CSVFileView from Nirsoft.
I used CSVFileView to create an html file from the csv and assigned the html contents to a variable.
![Image]()
I used the variable containing the HTML to generate the report for the email.
![Image]()
First, one of our clients has a comma in their name and it was messing up the csv. So I put quotes around @sqlCompany@
I added a line to download CSVFileView from Nirsoft.
I used CSVFileView to create an html file from the csv and assigned the html contents to a variable.
I used the variable containing the HTML to generate the report for the email.