I have changed the code entirely and could generate a html report as attached here. Now i want to send this html report to users but not able to do so. I have tried the below code but it is generating an email with lots of dummy character. /* Read the HTML report into a macro variable */ filename mymail email to='ghospiya@merck.com' subject='Status Report' type='text/html'; data _null_; file mymail; infile "C:\Users\ghospiya\Documents\report.html" lrecl=32767 end=eof;; input; put _infile_; run; filename mymail clear;
... View more