Hi.
I wan´t to send multiple output to an email, with filename email. It seem that every datastep/proc generates a new email. Is there a way to append output to a single email, without using attachments?
Following generates 2 email, one with the text and the other one with graph:
/* -------------------------------------- */
data testdata;
do mid=1 to 5;
resp=RANUNI(0);
output;
end;
run;
filename outbox email
to=to@domail.com'
type='text/html'
subject='churn report in HTML format'
;
data _null_;
file outbox;
put 'Here I will put a html table';
run;
ods html body=outbox
rs=none;
options dev = activex;
proc gchart data = testdata;
vbar mid / discrete SUMVAR=RESP PATTERNID=MIDPOINT;
run;
ods html close;
filename outbox clear;