hi
I am trying to combine various HTML reports into one email with different headings, one saying 'update 1' then the table, then 'update 2' then the table however they currently arriving in my inbox as seperate emails. See code below
FILENAME MailBox EMAIL
TO=(jackie@gmail.com)
FROM='horat@gmail.com'
type='text/html'
SUBJECT='Update to tables';
ODS html body=Mailbox style = noline;
ods html text = "Update1";
ods html text = "";
ods listing close;
PROC REPORT DATA=WORK.updates nowd HEADLINE HEADSKIP
style (report) = {background = white
font_face = "Verdana" font_size = 7pt just=left bordercolor=grey rules=All frame=box}
style (column) = {background = white CELLHEIGHT = 2.5%
font_face = "Verdana" font_size = 7pt just=left }
style (header) = {foreground = cx5e2750 font_face="Verdana"
font_size = 8pt just=left
};
columns _All_;
run;
ods html close;
PROC REPORT DATA=WORK.updates2 nowd HEADLINE HEADSKIP
style (report) = {background = white
font_face = "Verdana" font_size = 7pt just=left bordercolor=grey rules=All frame=box}
style (column) = {background = white CELLHEIGHT = 2.5%
font_face = "Verdana" font_size = 7pt just=left }
style (header) = {foreground = cx5e2750 font_face="Verdana"
font_size = 8pt just=left
};
columns _All_;
run;
... View more