Hi @ChrisHemedinger , I'm having an issue with extra text in an email I'm sending. Here is my output: I've highlighted the text I'm trying to get rid of. I already have the titles in the charts themselves, and I'm also not sure why they are in the wrong positions, but I just want to remove them. Here is the code I'm using: %macro email;
data _null_;
call symputx("today",put(today(),mmddyy10.));
run;
options EMAILSYS=SMTP EMAILID="keegan.xxxxx@xxxxx.com" EMAILHOST="GESVR5050.xxxxx.xxxxx.com";
FILENAME output EMAIL SUBJECT="Churn by Week as of &today."
FROM="keegan.xxxxx@xxxxx.com"
TO=("keegan.xxxxx@xxxxx.com")
BC=("keegan.xxxxx@xxxxx.com")
type='text/html'
CT ='text/html';
ods html5 (id=mail) body=OUTPUT options(bitmap_mode="inline")
style=htmlblue;
ods escapechar='^';
ODS TEXT="^S={font_face='Calibri' font_size=3 fontweight=Medium foreground=black} ";
ODS TEXT="^S={font_face='Calibri' font_size=3 fontweight=Medium foreground=black}Good morning,";
ODS TEXT="^S={font_face='Calibri' font_size=3 fontweight=Medium foreground=black} ";
ODS TEXT="^S={font_face='Calibri' font_size=3 fontweight=Medium foreground=black}See churn below and let me know if you have questions.";
ODS TEXT="^S={font_face='Calibri' font_size=3 fontweight=Medium foreground=black} ";
ODS TEXT="^S={font_face='Calibri' font_size=3 fontweight=Medium foreground=black}Thanks,";
ODS TEXT="^S={font_face='Calibri' font_size=3 fontweight=Medium foreground=black}Keegan";
ods graphics/ imagefmt=png width=1000px height=250px;
proc sgplot data=term_plot noautolegend;
title 'Term Attrition';
heatmapparm y=prod_group x=week_starting1
colorresponse=churn / colormodel=(green yellow red) outline;
text y=prod_group x=week_starting1 text=churn / textattrs=(size=11pt) ;
yaxis label="Product Group";
xaxis label="Week Beginning";
run;
proc sgrender data=attr_no_var
template=my_pie_chart;
run;
ods html5 (id=mail) close;
%mend;
%email; I don't see why it's putting this text at the top. Do you have suggestions?
... View more