When using the "Results as CSV" option in an Automation Policy, there is no 'new line' after each row. The data that is emailed is in one row. Can the results be copied and paste into Excel or a CSV file?
8.x
This information was originally provided under the following Symantec Connect article (also under KB 219364): How to send attachments in the Automation Policy e-mail?
Using this information, the following should show you how to accomplish sending CSV results as:
<!-- SMP:A;Results.csv -->%!Results!%<!-- SMP:B --><HTML>
<HEAD>
<style type="text/css">
body { font-size:9pt; font-family: verdana, sans-serif; }
.titleBar { background-color:#ffdf5a; border: solid 1px #666; padding:0;
margin-bottom:1em; }
.padding1 { padding:3px; }
.padding2 { padding:2px; }
.logo { font-family: 'times new roman', serif; float:right; font-
weight:bold; font-size:13pt; }
.title { color:#666; font-size:16pt; }
.header { border-top: solid 2px #8ca5c6; padding:0; font-family: verdana,
sans-serif; font-size:8pt; font-weight:bold; background-color:#c0d3ed; }
sub { font-family: verdana, sans-serif; font-size:5pt; }
</style>
</HEAD>
<BODY>
<div class="titleBar">
<div class="padding1">
<div class="logo">Symantec<sub>TM</sub></div>
<div class="title">Automation Policy Message</div>
</div>
</div>
<p>
%!Message!%
</p>
</BODY>
</HTML>
As you can see we are adding a MIME type into the body:
<!-- SMP:A;Results.csv -->%!Results!%<!-- SMP:B -->
It will attach the results as a file, in this case as a csv file.
with just:
%!Message!%
%!Results!%